Skip to main content

DataItemNumericFormatType Enum

Lists values that specify format types for numeric values.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

#Declaration

public enum DataItemNumericFormatType

#Members

Name Description
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.

#Related API Members

The following properties accept/return DataItemNumericFormatType values:

#Remarks

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

See Also