NumberFormat interface
The number format.
Properties
| available |
The number format. |
| currency | The currency. |
| currency |
The number format. |
| grouping |
Determines if grouping is used. |
| instance | The number format. |
| integer |
The number format. |
| maximum |
The maximum of fraction digits. |
| maximum |
The maximum of integer digits. |
| minimum |
The minimum of fraction digits. |
| minimum |
The minimum of integer digits. |
| number |
The number format. |
| parse |
Determines if only integer is parsed. |
| percent |
The number format. |
| rounding |
The enum of rounding mode. Possible values: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", "UNNECESSARY" |
Property Details
availableLocales
The number format.
availableLocales?: string[]
Property Value
string[]
currency
The currency.
currency?: string
Property Value
string
currencyInstance
groupingUsed
Determines if grouping is used.
groupingUsed?: boolean
Property Value
boolean
instance
integerInstance
maximumFractionDigits
The maximum of fraction digits.
maximumFractionDigits?: number
Property Value
number
maximumIntegerDigits
The maximum of integer digits.
maximumIntegerDigits?: number
Property Value
number
minimumFractionDigits
The minimum of fraction digits.
minimumFractionDigits?: number
Property Value
number
minimumIntegerDigits
The minimum of integer digits.
minimumIntegerDigits?: number
Property Value
number
numberInstance
parseIntegerOnly
Determines if only integer is parsed.
parseIntegerOnly?: boolean
Property Value
boolean
percentInstance
roundingMode
The enum of rounding mode.
Possible values: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", "UNNECESSARY"
roundingMode?: string
Property Value
string