DataItemNumericFormat.Precision Property
Gets or sets the number of fractional digits that should be displayed.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
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.