File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ the input.
15
15
+-------------+-----------------------------------------------------------------------+
16
16
| Rendered as | ``input `` ``text `` field |
17
17
+-------------+-----------------------------------------------------------------------+
18
- | Options | - `scale `_ |
18
+ | Options | - `rounding_mode `_ |
19
+ | | - `scale `_ |
19
20
| | - `symbol `_ |
20
21
| | - `type `_ |
21
- | | - `rounding_mode `_ |
22
22
+-------------+-----------------------------------------------------------------------+
23
23
| Overridden | - `compound `_ |
24
24
| options | |
@@ -51,6 +51,12 @@ the input.
51
51
Field Options
52
52
-------------
53
53
54
+ .. include :: /reference/forms/types/options/rounding_mode.rst.inc
55
+
56
+ .. versionadded :: 5.1
57
+
58
+ The ``rounding_mode `` option was introduced in Symfony 5.1.
59
+
54
60
scale
55
61
~~~~~
56
62
@@ -61,8 +67,6 @@ the submitted value (via ``rounding_mode``). For example, if ``scale`` is set
61
67
to ``2 ``, a submitted value of ``20.123 `` will be rounded to, for example,
62
68
``20.12 `` (depending on your `rounding_mode `_).
63
69
64
- .. include :: /reference/forms/types/options/rounding_mode.rst.inc
65
-
66
70
symbol
67
71
~~~~~~
68
72
You can’t perform that action at this time.
0 commit comments