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

    Function createVolumeFormatter

    • A locale-aware volume formatter using compact notation (1.2K, 3.4M, 1.1B) localized by Intl.NumberFormat({ notation: 'compact' }). Locales that don't use Latin compact suffixes (e.g. some CJK locales) get their native compact forms. Falls back to defaultFormatVolume when Intl can't honor the request.

      Non-finite input → ''.

      Parameters

      • Optionallocale: string

      Returns NumberFormatFn