New to KendoReact? Learn about KendoReact Free.
Formats
Updated on Nov 12, 2026
You can control the format of the NumericTextBox by using the format property.
It accepts string or NumberFormatOptions parameters. When format is set and the input element is not focused, the value is formatted accordingly. By default, the format is set to 'n2'.
The standard string formats are the following specifiers. Add a number after a specifier to set the precision, for example 'n2':
n—Formats the number as a decimal number based on the locale. This format corresponds to thedecimalvalue of thestyleoption inNumberFormatOptions.c—Formats the number as a currency based on the locale.p—Formats the number as a percentage based on the locale. The value is multiplied by 100.e—Formats the number in exponential notation.
The following snippet shows how to set the decimal format by using a string and by using NumberFormatOptions.
tsx
<NumericTextBox format="n2" />
<NumericTextBox format={{ style: 'decimal', minimumFractionDigits: 4 }} />
Format cannot contain decimal separators or numbers. Power signs are supported.
For more information on the date and number formats KendoReact supports, refer to the kendo-intl GitHub repository.
Loading ...