Interface: CompactOptions
Defined in: number/types.ts:90
Options for compact number formatting (1K, 1M, etc.).
Properties
digits?
readonlyoptionaldigits:number
Defined in: number/types.ts:101
Number of significant digits.
Default
1
locale?
readonlyoptionallocale:string
Defined in: number/types.ts:95
Locale to use for formatting.
Default
'en-US'
notation?
readonlyoptionalnotation:"short"|"long"
Defined in: number/types.ts:107
Notation style.
Default
'short'