![]() Use the following placeholders and special characters to build custom numeric masks.Īny digit (0-9). If the precision specifier is omitted, the mask uses the culture’s property.Ģ500.00% (“P” or “P2”, editor value is “25”) The precision specifies the number of digits to the right of a decimal point. The mask matches the pattern specified by the culture’s and properties.Ģ5.00% (“P” or “P2”, editor value is “25”) If the precision specifier is omitted, the mask uses the culture’s property. The precision specifies the total number of digits. The fraction part is automatically discarded. If the precision is not set, the editor uses the number stored in the property. Precision specifies the number of digits after the decimal point. Users can change the regional format in the Windows Settings panel.Ĭurrency. The CultureInfo.NumberFormat property specifies the culture’s numeric format. and France (the currency symbol, the thousand separator, the precision, etc.). For example, the same input mask may specify different patterns in the U.S. Note that patterns depend on the current culture. The table below contains input masks that correspond to the standard patterns. The precision specifier ranges from 0 to 99 and sets the number of digits to the left or the right of a decimal point (depending on the mask specifier). Standard MasksĪ standard numeric mask consists of a mask and a precision specifier. Run this Demo Center module to test various input masks: Mask Box. This mask type supports the standard numeric. The Numeric mask type allows users to enter numeric values (integer, float, currency, percentage, etc.). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |