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

428 B

title description categories keywords params
lang.FormatNumber Returns a numeric representation of a number with the given precision for the current language and region.
functions_and_methods
aliases returnType signatures
string
lang.FormatNumber PRECISION NUMBER
{{ 512.5032 | lang.FormatNumber 2 }} → 512.50

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