Skip to main content

NumericFormat Enum

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

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 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 decimal places. The number of decimal places 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