Skip to content

Commit e2858a7

Browse files
committed
minor #4682 Fix wrong rounding_mode documentation (bodendorfer-simplethings)
This PR was merged into the 3.x branch. Discussion ---------- Fix wrong rounding_mode documentation Fixes #4681 Commits ------- b409348 Fix wrong rounding_mode values
2 parents e05e818 + b409348 commit e2858a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/filters/format_number.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ The list of supported options:
6060
* ``floor``: Floor rounding
6161
* ``down``: Rounding towards zero
6262
* ``up``: Rounding away from zero
63-
* ``half_even``: Round halves to the nearest even integer
64-
* ``half_up``: Round halves up
65-
* ``half_down``: Round halves down
63+
* ``halfeven``: Round halves to the nearest even integer
64+
* ``halfup``: Round halves up
65+
* ``halfdown``: Round halves down
6666

6767
.. code-block:: twig
6868

0 commit comments

Comments
 (0)