mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-05 01:50:09 +03:00
Merge commit '838bd312b1
'
This commit is contained in:
commit
bbbfeb340a
7 changed files with 12 additions and 12 deletions
|
@ -15,7 +15,7 @@ action:
|
|||
aliases: ['/functions/numfmt/']
|
||||
---
|
||||
|
||||
This function formats a number with the given precision. The first options parameter is a space-delimited string of characters to represent negativity, the decimal point, and grouping. The default value is `- . ,`. The second options parameter defines an alternate delimiting character.
|
||||
This function formats a number with the given precision. The first options parameter is a space-delimited string of characters to represent negativity, the decimal point, and grouping. The default value is `- . ,`. The second options parameter defines an alternative delimiting character.
|
||||
|
||||
Note that numbers are rounded up at 5 or greater. So, with precision set to 0, 1.5 becomes 2, and 1.4 becomes 1.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue