Clarify "precision" in currency format functions
authorPaul Gottschling <paul.gottschling@gmail.com>
Thu, 2 Sep 2021 00:26:42 +0000 (20:26 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 22 Sep 2021 18:00:30 +0000 (20:00 +0200)
commita864ffe9acf295034bb38e789a0efa62906b2ae4
treee212c4ea1e860629559bcd129cc6ffe7c4718eea
parentb49da33280cb01795ce833e70c2b7b78cca1867e
Clarify "precision" in currency format functions

The documentation of the FormatAccounting and FormatCurrency
functions could be clearer in terms of how the precision param
works. This commit makes it more explicit that adding a precision
of < 2 will not format the return values to include fewer decimals.

Resolves #8858
tpl/lang/lang.go