UnitFormatStyleType
Styles for unit formatting.
Syntax
'decimal' | 'short' | 'long' | 'scientific'
Values
"decimal"
- Default formatting.
"short"
- Compact form, using as few digits as needed, with a short indicator of the order of magnitude.
"long"
- Compact form, using as few digits as needed, with a long indicator of the order of magnitude.
"scientific"
- Formats a number in scientific notation (beta)