Overrides for formatFigure: the decimal places to round to, 2 by default and clamped to what a ledger amount holds, and the locale whose grouping and decimal separators to use, the runtime's own by default.
formatFigure('1234.5', { places: 4, locale: 'de-DE' }) // '1.234,5000' Copy
formatFigure('1234.5', { places: 4, locale: 'de-DE' }) // '1.234,5000'
Optional
Overrides for formatFigure: the decimal places to round to, 2 by default and clamped to what a ledger amount holds, and the locale whose grouping and decimal separators to use, the runtime's own by default.
Example