Skip to main content
Tab

SpinEditProperties.DecimalPlaces Property

Gets or sets the number of decimal places to display for the numbers in the spin editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public int DecimalPlaces { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies the number of decimal places.

Remarks

Note

By default, the DecimalPlaces property is not in effect (its value is set to 0). The property affects the number of decimal places when its value is greater or equal to 1.

The appropriate decimal symbol is determined by the culture-specific settings of the application’s server.

Note

The DecimalPlaces property synchronizes its value with the editor’s ASPxSpinEdit.DecimalPlaces property.

See Also