@rekurt/openkline - v0.2.0
    Preparing search index...

    Function createPriceFormatter

    • 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).

      Parameters

      • Optionallocale: string
      • Optionalopts: { precision?: number }

      Returns NumberFormatFn