[This is preliminary documentation and is subject to change.]

The NumberFormatInfo type exposes the following members.

Constructors

  NameDescription
NumberFormatInfo
Initializes a new instance of the NumberFormatInfo class.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(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.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
DecimalDigits
Returns the number of decimal digits
MaxLength
The maximum number of characters that this format can hold
(Inherited from FormatInfo.)
Precision
Returns the total number of digits. Same as TotalDigits
Scale
Returns the number of decimal digits. Same as DecimalDigits
SupportsMinus
Returns true if the format supports values that are less than zero.
TotalDigits
Returns the total number of digits. DecimalDigits + WholeDigits
WholeDigits
Returns the number of whole digits

See Also