intl-sup
    Preparing search index...

    Function getCurrencyPosition

    • Get the position of the currency symbol for given currency and user locale.

      Parameters

      • currencyCode: string

        The currency code (for instance "USD", "EUR", "JPY", etc.).

      Returns CurrencyPosition

      "before" if the symbol is before the amount, "after" if the symbol is after the amount.

      1.0.0

      Browser support: Chrome 24, Edge 12, Firefox 29, Opera 15, Safari 10, Node 0.23, Deno 1.8, Bun 1