We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8d4976 + 274438d commit 150b3f9Copy full SHA for 150b3f9
reference/forms/types/options/rounding_mode.rst.inc
@@ -1,7 +1,15 @@
1
rounding_mode
2
~~~~~~~~~~~~~
3
4
-**type**: ``integer`` **default**: ``\NumberFormatter::ROUND_HALFUP``
+**type**: ``integer`` **default**: ``\NumberFormatter::ROUND_DOWN`` for ``IntegerType``
5
+and ``\NumberFormatter::ROUND_HALF_UP`` for ``MoneyType`` and ``NumberType``
6
+
7
+* IntegerType
8
+**default**: ``\NumberFormatter::ROUND_DOWN``
9
10
+* MoneyType and NumberType
11
+**default**: ``\NumberFormatter::ROUND_HALF_UP``
12
13
14
If a submitted number needs to be rounded (based on the `scale`_ option), you
15
have several configurable options for that rounding. Each option is a constant
0 commit comments