charton API / @chart-on/core / index / ZeroFold
Interface: ZeroFold
Defined in: packages/core/src/util/price-format.ts:19
Folding the leading zeros of very small prices into a count: with at least minZeros zeros after the decimal point (default 4), 0.00000412 shows as 0.0₅412 (style: 'subscript', the default) or 0.0{5}412 ('brace', for fonts without subscript digits). The count includes the zero shown.
Properties
minZeros?
optionalminZeros?:number
Defined in: packages/core/src/util/price-format.ts:20
style?
optionalstyle?:"subscript"|"brace"
Defined in: packages/core/src/util/price-format.ts:21