Back to Devexpress

DataItemNumericFormatType Enum

dashboard-devexpress-dot-dashboardcommon-9c8fa11d.md

latest2.0 KB
Original Source

DataItemNumericFormatType Enum

Lists values that specify format types for numeric values.

Namespace : DevExpress.DashboardCommon

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

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public enum DataItemNumericFormatType
vb
Public Enum DataItemNumericFormatType

Members

NameDescription
Auto

Format type is defined automatically, according to the data type and summary function (for measures).

| | General |

The most compact of either fixed-point or scientific notation. Ignores the DataItemNumericFormat.Precision value.

| | Number |

Integral and decimal digits, group separators, and a decimal separator with an optional negative sign.

1234.567 -> 1,234.57 (en-US)

| | Currency |

Currency formatting.

123.456 -> $123.46 (en-US)

| | Scientific |

Exponential notation.

1052.0329112756 -> 1.052033E+003 (en-US)

| | Percent |

Number multiplied by 100 and displayed with a percent symbol.

-0.39678 -> -39.7 % (en-US)

| | Custom |

A custom format type for numeric values.

|

The following properties accept/return DataItemNumericFormatType values:

Remarks

Values listed by this enumeration are used to set the DataItemNumericFormat.FormatType property.

See Also

DevExpress.DashboardCommon Namespace