Export (0) Print
Expand All

NumberFormatInfo Members

Defines how numeric values are formatted and displayed, depending on the culture.

The following tables list the members exposed by the NumberFormatInfo type.

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework NumberFormatInfo Initializes a new writable instance of the NumberFormatInfo class that is culture-independent (invariant).
Top

  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CurrencyDecimalDigits Indicates the number of decimal places to use in currency values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CurrencyDecimalSeparator Gets or sets the string to use as the decimal separator in currency values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CurrencyGroupSeparator Gets or sets the string that separates groups of digits to the left of the decimal in currency values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CurrencyGroupSizes Gets or sets the number of digits in each group to the left of the decimal in currency values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CurrencyNegativePattern Gets or sets the format pattern for negative currency values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CurrencyPositivePattern Gets or sets the format pattern for positive currency values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CurrencySymbol Gets or sets the string to use as the currency symbol.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework CurrentInfo Gets a read-only NumberFormatInfo that formats values based on the current culture.
Public property DigitSubstitution Gets or sets a value that specifies how the graphical user interface displays the shape of a digit.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework InvariantInfo Gets the default read-only NumberFormatInfo that is culture-independent (invariant).
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsReadOnly Gets a value indicating whether the NumberFormatInfo is read-only.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NaNSymbol Gets or sets the string that represents the IEEE NaN (not a number) value.
Public property NativeDigits Gets or sets a string array of native digits equivalent to the Western digits 0 through 9.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NegativeInfinitySymbol Gets or sets the string that represents negative infinity.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NegativeSign Gets or sets the string that denotes that the associated number is negative.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NumberDecimalDigits Gets or sets the number of decimal places to use in numeric values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NumberDecimalSeparator Gets or sets the string to use as the decimal separator in numeric values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NumberGroupSeparator Gets or sets the string that separates groups of digits to the left of the decimal in numeric values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NumberGroupSizes Gets or sets the number of digits in each group to the left of the decimal in numeric values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework NumberNegativePattern Gets or sets the format pattern for negative numeric values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PercentDecimalDigits Gets the number of decimal places to use in percent values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PercentDecimalSeparator Gets the string to use as the decimal separator in percent values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PercentGroupSeparator Gets the string that separates groups of digits to the left of the decimal in percent values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PercentGroupSizes Gets the number of digits in each group to the left of the decimal in percent values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PercentNegativePattern Gets or sets the format pattern for negative percent values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PercentPositivePattern Gets or sets the format pattern for positive percent values.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PercentSymbol Gets or sets the string to use as the percent symbol.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PerMilleSymbol Gets or sets the string to use as the per mille symbol.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PositiveInfinitySymbol Gets or sets the string that represents positive infinity.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework PositiveSign Gets or sets the string that denotes that the associated number is positive.
Top

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clone Creates a shallow copy of the NumberFormatInfo.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetFormat Gets an object of the specified type that provides a number formatting service.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework GetInstance Gets the NumberFormatInfo associated with the specified IFormatProvider.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ReadOnly Returns a read-only NumberFormatInfo wrapper.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2015 Microsoft