diff --git a/docs/docs/report/helpers.md b/docs/docs/report/helpers.md index dfc98bc442..ca92a1ce4d 100644 --- a/docs/docs/report/helpers.md +++ b/docs/docs/report/helpers.md @@ -330,8 +330,8 @@ The helper function `format_number` allows for some common number formatting opt {% format_number 3.14159265359 decimal_places=5 %} - -{% format_number 3.14159265359 decimal_places=5 min_digits=3 %} + +{% format_number 3.14159265359 decimal_places=5 leading=3 %} @@ -359,7 +359,7 @@ The helper function `format_number` allows for some common number formatting opt #### Custom Format Strings -The `fmt` argument accepts a [Unicode number pattern](https://unicode.org/reports/tr35/tr35-numbers.html#Number_Format_Patterns) string (the same syntax used by [Babel](https://babel.pocoo.org/en/latest/numbers.html)). When `fmt` is provided it takes complete priority over the `decimal_places`, `max_decimal_places`, `min_digits`, and `separator` arguments — those arguments are silently ignored. +The `fmt` argument accepts a [Unicode number pattern](https://unicode.org/reports/tr35/tr35-numbers.html#Number_Format_Patterns) string (the same syntax used by [Babel](https://babel.pocoo.org/en/latest/numbers.html)). When `fmt` is provided it takes complete priority over the `decimal_places`, `max_decimal_places`, `leading`, and `separator` arguments — those arguments are silently ignored. The `integer` and `multiplier` arguments **are** still applied to the number before the format string is used.