Default implementation for formatting prices.

  • Parameters

    • price: number | BigNumber

      The price to format.

    • Optionalcurrency: CurrencyCode

      The currency code to be used for formatting. Defaults to the currency provided in ZIBRI_DI_TOKENS.LOCALIZE_OPTIONS.

    • Optionallanguage: LanguageCode

      The language code to be used for formatting. Defaults to the language provided in ZIBRI_DI_TOKENS.LOCALIZE_OPTIONS.

    Returns string