Mono Class Library: System.Globalization.NumberFormatInfo Overview | Members

System.Globalization.NumberFormatInfo.InvariantInfo Property

Gets a System.Globalization.NumberFormatInfo instance containing formatting information that is culture-independent and does not change. [Edit]

public static NumberFormatInfo InvariantInfo { get; }

Value

A read-only System.Globalization.NumberFormatInfo with property values which are universally supported. The property values of the returned System.Globalization.NumberFormatInfo are not impacted by changes to the current culture. [Edit]

Remarks

This property is read-only.

The following table lists the property values of the System.Globalization.NumberFormatInfo returned by this property.

PropertyDefaultDescription
CurrencyDecimalDigits2The number of decimal places in currency values.
CurrencyDecimalSeparator"."The string used as the decimal separator in currency values.
CurrencyGroupSeparator","The string used to separate groups of digits to the left of the decimal point in currency values.
CurrencyGroupSizes3The number of digits in each group to the left of the decimal point in currency values.
CurrencyNegativePattern0The format of negative currency values.
CurrencyPositivePattern0The format of positive currency values.
CurrencySymbol0x00a4The Unicode currency symbol.
NaNSymbol"NaN"The string used to represent undefined floating-point values.
NegativeInfinitySymbol"-Infinity"The string used to represent negative infinities.
NegativeSign"-"The string used to indicate negative values.
NumberDecimalDigits2The default number of decimal places.
NumberDecimalSeparator"."The string used as the decimal separator.
NumberGroupSeparator","The string used to separate groups of digits to the left of the decimal point.
NumberGroupSizes3The number of digits in each group to the left of the decimal point.
NumberNegativePattern1The format of negative values.
PercentDecimalDigits2The default number of decimal places in percent values.
PercentDecimalSeparator"."The string used as the decimal separator in percent values.
PercentGroupSeparator","The string used to separate groups of digits to the left of the decimal point in percent values.
PercentGroupSizes3The number of digits in each group to the left of the decimal in percent values.
PercentNegativePattern0The format of negative percent values.
PercentPositivePattern0The format of positive percent values.
PercentSymbol"%"The percent symbol.
PerMilleSymbol""The per mille symbol.
PositiveInfinitySymbol"Infinity"The string used to represent positive infinities.
PositiveSign"+"The string used to indicate positive values.
[Edit]

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0