You can set a particular format of the numeric value to be entered in the Numeric Box using Format property of the C1NumericBox class. The image below shows the comma separated input format with two decimal places.
The following code example demonstrates how you can set a specific format for the numeric value in entered or displayed in the NumericBox control.
Razor |
Copy Code
|
---|---|
<label>Format</label> <div> <C1NumericBox Format="##,###.##" Placeholder="Any Text" Style="@_c1Style" TNumeric="double?" Value="999999.99"></C1NumericBox> </div> |