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

The NumberFormatInfo type exposes the following members.

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