1
0
Fork 0
hugo/docs/content/en/functions/lang/FormatCurrency.md

463 B

title description categories keywords params
lang.FormatCurrency Returns a currency representation of a number for the given currency and precision for the current language and region.
functions_and_methods
aliases returnType signatures
string
lang.FormatCurrency PRECISION CURRENCY NUMBER
{{ 512.5032 | lang.FormatCurrency 2 "USD" }} → $512.50

{{% include "/_common/functions/locales.md" %}}