A locale-aware price formatter. Uses Intl.NumberFormat with the same
auto-precision tiers as formatPrice so digit counts match
across locales — only separators localize. Pass a fixed precision to pin
the fraction digits (e.g. an instrument with a known tick size).
Non-finite input → '' (matches the axis-safe behavior of the default).
A locale-aware price formatter. Uses
Intl.NumberFormatwith the same auto-precision tiers asformatPriceso digit counts match across locales — only separators localize. Pass a fixedprecisionto pin the fraction digits (e.g. an instrument with a known tick size).Non-finite input →
''(matches the axis-safe behavior of the default).