Back to Devexpress

SpinEditProperties.DecimalPlaces Property

aspnet-devexpress-dot-web-dot-spineditproperties-74fae7a3.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(0)]
public int DecimalPlaces { get; set; }
vb
<DefaultValue(0)>
Public Property DecimalPlaces As Integer

Property Value

TypeDefaultDescription
Int320

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

NumberFormat

DisplayFormatString

DisplayFormatInEditMode

Spin Editor

SpinEditProperties Class

SpinEditProperties Members

DevExpress.Web Namespace