RadControls for ASP.NET AJAX The NumberFormat client object determines how a RadNumericTextBox control formats its value when it does not have focus. It is returned by the get_numberFormat() method of the RadNumericTextBox client-side object. The following table lists its properties:
Property | Type | Description |
|---|
AllowRounding | boolean | Specifies whether values are rounded (true) or truncated (false) when not all the decimal places can be shown. |
DecimalDigits | integer | Specifies the number of decimal places to show. |
DecimalSeparator | character | Specifies the character that separates the whole number from the decimal places. |
GroupSeparator | character | Specifies the character that divides groups of digits. |
GroupSizes | integer | Specifies the number of digits in each group. |
NegativePattern | string | Specifies the pattern for formatting negative values. |
NegativeSign | character | Specifies the character to use as a minus sign. |
PositivePattern | string | Specifies the pattern for formatting positive values. |
See Also