Skip to content

Commit f7075dc

Browse files
committed
[Form][NumberType] Fix constants
1 parent e3e93d9 commit f7075dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/options/rounding_mode.rst.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ rounding_mode
22
~~~~~~~~~~~~~
33

44
**type**: ``integer`` **default**: ``\NumberFormatter::ROUND_DOWN`` for ``IntegerType``
5-
and ``\NumberFormatter::ROUND_HALF_UP`` for ``MoneyType`` and ``NumberType``
5+
and ``\NumberFormatter::ROUND_HALFUP`` for ``MoneyType`` and ``NumberType``
66

77
* IntegerType
88
**default**: ``\NumberFormatter::ROUND_DOWN``
99

1010
* MoneyType and NumberType
11-
**default**: ``\NumberFormatter::ROUND_HALF_UP``
11+
**default**: ``\NumberFormatter::ROUND_HALFUP``
1212

1313

1414
If a submitted number needs to be rounded (based on the `scale`_ option), you

0 commit comments

Comments
 (0)