We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
github-wiki-example / UtilitiesModule / formatCurrency
formatCurrency(amount, currencyCode): string
amount
currencyCode
string
Formats a number as currency with a given currency code. Utilizes the Intl.NumberFormat API to handle locale-specific currency formatting.
number
The formatted currency string in the format "$1,234.56".
utilities.ts:17