[]
        
(Showing Draft Content)

C1.Web.Mvc.InputNumber.Truncate

Truncate Property

Truncate

Gets or sets whether the control truncates numeric values that exceed the decimal precision defined by Format, instead of applying rounding.

Declaration
public virtual bool Truncate { get; set; }
Public Overridable Property Truncate As Boolean
Remarks

For example, if format = 'n2' and the value is 99.999, setting Truncate to true will store 99.99 rather than rounding to 100. Default is false, which preserves the standard rounding behavior.