Skip to main content
A newer version of this page is available. .

DataItemNumericFormat.Precision Property

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

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v19.1.Core.dll

Declaration

public int Precision { get; set; }

Property Value

Type Description
Int32

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

Remarks

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