NumberFormatInfo Class

Used to provide extra info about a Number format

Definition

Namespace: Firefly.Box.Data.Advanced
Assembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
C#
public class NumberFormatInfo : FormatInfo
Inheritance
Object    FormatInfo    NumberFormatInfo

Constructors

NumberFormatInfoInitializes a new instance of the NumberFormatInfo class.

Properties

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

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also