Skip to content

formatPrice

formatPrice(amount, currency, language?): string

Defined in: facts.ts:396

Format a stated amount for display. Falls back to the raw amount when the currency is unknown, the amount is not a plain decimal, or Intl refuses the language or currency.

string

string | undefined

string = "en"

string