lang.FormatCurrency
Syntax
lang.FormatAccounting PRECISION CURRENCY NUMBER ⟼ string
{{ 512.5032 | lang.FormatCurrency 2 "USD" }} → $512.50
lang.FormatAccounting PRECISION CURRENCY NUMBER ⟼ string
{{ 512.5032 | lang.FormatCurrency 2 "USD" }} → $512.50