Edit this page

decimals Number(default: null)

Specifies the number precision applied to the widget value and when the NumericTextBox is focused. If not set, the precision defined by the current culture is used. If the user enters a number with a greater precision than is currently configured, the widget value will be rounded. For example, if decimals is 2 and the user inputs 12.346, the value will become 12.35. If the user inputs 12.99, the value will become 13.00.

Compare with the format property.


<input id="numerictextbox" />
    decimals: 1
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article