mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 13:02:11 -05:00
614 B
614 B
title | description | categories | keywords | menu | function | relatedFunctions | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
lang.FormatPercent | Returns a percentage representation of a number with the given precision for the current language. |
|
|
|
|
{{ 512.5032 | lang.FormatPercent 2 }} → 512.50%
{{% note %}} {{% readfile file="/functions/_common/locales.md" %}} {{% /note %}}