format-number
The schema defines the following properties:
Property | Type | Required | Description |
format | string | false | |
localeMatcher | string | false | |
style | string | false | |
compactDisplay | false | | |
currencyDisplay | NumberFormatOptionsCurrencyDisplay | false | |
currencySign | string | false | |
notation | false | | |
signDisplay | false | | |
unit | string | false | |
unitDisplay | false | | |
numberingSystem | string | false | |
trailingZeroDisplay | enum<string> | false | |
roundingPriority | enum<string> | false | |
minimumIntegerDigits | number | false | |
minimumSignificantDigits | number | false | |
maximumSignificantDigits | number | false | |
minimumFractionDigits | number | false | |
maximumFractionDigits | number | false | |
currency | string | false | |
useGrouping | boolean | false | |
This element must be one of the following enum values:
- auto
- stripIfInteger
This element must be one of the following enum values:
- auto
- morePrecision
- lessPrecision
The schema defines the following additional types:
This element must be one of the following enum values:
- symbol
- code
- name
- narrowSymbol
