We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19942b3 commit be54b38Copy full SHA for be54b38
reference/forms/types/money.rst
@@ -83,6 +83,9 @@ input
83
By default, the money value is converted to a ``float`` PHP type. If you need the
84
value to be converted into an integer (e.g. because some library needs money
85
values stored in cents as integers) set this option to ``integer``.
86
+You can also set this option to ``string``, it can be useful if the underlying
87
+data is a string for precision reasons (for example, Doctrine uses strings for
88
+the decimal type).
89
90
.. versionadded:: 7.1
91
0 commit comments