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

    Function formatPercentLocale

    • A locale-aware percentage formatter. Always shows a sign (a leading + for positive values, matching formatPercent's convention) and two fraction digits. value is a percent already (e.g. 12.3+12.30 %), so we format value / 100 through the percent style and let the locale decide separator + space-before-%.

      Non-finite input → ''.

      Parameters

      • value: number
      • Optionallocale: string

      Returns string