mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
tpl/lang: document delimiter option for FormatNumberCustom
Closes gohugoio/hugoDocs#1760
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
86b2a27438
commit
1155bbca9d
@@ -72,6 +72,7 @@ func init() {
|
||||
{`{{ lang.FormatNumberCustom 2 12345.6789 "- , ." }}`, `12.345,68`},
|
||||
{`{{ lang.FormatNumberCustom 6 -12345.6789 "- ." }}`, `-12345.678900`},
|
||||
{`{{ lang.FormatNumberCustom 0 -12345.6789 "- . ," }}`, `-12,346`},
|
||||
{`{{ lang.FormatNumberCustom 0 -12345.6789 "-|.| " "|" }}`, `-12 346`},
|
||||
{`{{ -98765.4321 | lang.FormatNumberCustom 2 }}`, `-98,765.43`},
|
||||
},
|
||||
)
|
||||
|
Reference in New Issue
Block a user