DataItemNumericFormat.Precision Property

Gets or sets the number of fractional digits that should be displayed.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

public int Precision { get; set; }
Public Property Precision As Integer

Property Value

Type Description
Int32

An integer value that specifies the number of fractional digits that should be displayed.

While being formatted, values are first converted to the unit specified by the DataItemNumericFormat.Unit property and then rounded according to the Precision property value.

If the DataItemNumericFormat.Unit property is set to DataItemNumericUnit.Auto, the Precision property is not in effect.

The Precision value is also ignored when the DataItemNumericFormat.FormatType property is set to DataItemNumericFormatType.General.

See Also