[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines how numeric values are formatted and displayed, depending on the culture.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|CurrentInfo||Gets a read-only that formats values based on the current culture.|
|NegativeSign||Gets or sets the string that denotes that the associated number is negative.|
|NumberDecimalSeparator||Gets or sets the string to use as the decimal separator in numeric values.|
|NumberGroupSeparator||Gets or sets the string that separates groups of digits to the left of the decimal in numeric values.|
|NumberGroupSizes||Gets or sets the number of digits in each group to the left of the decimal in numeric values.|
|PositiveSign||Gets or sets the string that denotes that the associated number is positive.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
This class contains information, such as currency, decimal separators, and other numeric symbols.
Numeric values are formatted using standard or custom patterns stored in the properties of a . To modify the display of a value, the application must make the object writable so that custom patterns can be saved in its properties.
The following table describes the format patterns for each standard format specifier and the associated properties that can be set to modify the standard formats. For details about the use of these patterns, see Standard Numeric Format Strings.
Description and associated properties
Associated properties: , , , , , , , NegativeSign
Associated properties: NegativeSign
Scientific (exponential) format.
Associated properties: NegativeSign, , , , , , ,
A object can be created only for the invariant culture or for specific cultures, not for neutral cultures. For more information about the invariant culture, specific cultures, and neutral cultures, see the CultureInfo class.