Hex Core JS
    Preparing search index...

    Function getFractionDigitsForCurrency

    • Returns the minimum number of fraction digits for fomatting the given currency.

      Parameters

      • currency: string

        The currency to get the fraction digits for.

      • locales: LocalesArgument = ...

        The locale(s) to use for formatting. Defaults to using getLocale.

      Returns number

      If the given currency is not supported by the browser.