Skip to main content

NumericFormat Enum

Lists the values used to specify the formatting applied to numeric values.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum NumericFormat

Members

Name Description
General

Displays numbers without any specific formatting applied to them. Integer and fractional parts are separated using the decimal symbol specified in your computer’s regional settings.

Example: 100.

Scientific

Displays numbers using the standard scientific notation. This format is determined by your computer’s regional settings.

Example: 1.00E+002.

FixedPoint

Displays numbers as real numeric values with the specified number of digits for the fractional part. How many digits is specified by the NumericOptions.Precision property, and the decimal separator is based upon your computer’s regional settings.

Example: 100.00.

Currency

Displays numbers as currency, using the currency format specified in your computer’s regional settings.

Example: $100.

Percent

Displays numbers multiplied by 100 with a percent sign (%) appended to the right; displays two digits to the right of the symbol specified in your computer’s regional settings.

Example: 100 %.

Number

Displays numbers as numeric values, using the number format specified in your computer’s regional settings.

Example: 100.00.

Related API Members

The following properties accept/return NumericFormat values:

Remarks

The values listed by the NumericFormat enumeration are used to set the NumericOptions.Format property.

See Also