FormatNumberOptions
Options of PluginContext.formatNumber.
Properties
Section titled “Properties”decimals?
Section titled “decimals?”
optionaldecimals?:number
Digits after the decimal mark, from 0 to 20; as many as the number needs by default.
grouping?
Section titled “grouping?”
optionalgrouping?:boolean
Whether to separate digit groups as NumberFormat.grouping sizes them; true by default.