This sample demonstrates RadNumericTextBox control
with its number format feature.
RadNumericTextBox will format the text when it is not in edit
mode. During edit mode, it will display the actual text which is not formatted.
A custom symbol can be appended to the pattern, the symbol "-" represents
the NegativeSign, and n stands for the
numeric part of the input string (designated by the NegativePattern
and PositivePattern properties).
Other useful properties are:
-
DecimalDigits
- specifies how many numbers will be displayed after the decimal separator
-
DecimalSeparator
- specifies the marker which will separate the decimal numbers
-
GroupSeparator
- specifies the delimiter which will separate each group of digits
-
GroupSizes - specifies the number of digits that will contain
each group, starting from the decimal separator