diff --git a/reference/forms/types/integer.rst b/reference/forms/types/integer.rst index 1b87d8f690e..60e8ae3d312 100644 --- a/reference/forms/types/integer.rst +++ b/reference/forms/types/integer.rst @@ -46,7 +46,15 @@ Field Options .. include:: /reference/forms/types/options/grouping.rst.inc -.. include:: /reference/forms/types/options/scale.rst.inc +scale +~~~~~ + +**type**: ``integer`` **default**: ``0``. Any other value is ignored. + +This specifies how many decimals will be allowed until the field rounds +the submitted value (via ``rounding_mode``). For example, if ``scale`` is set +to ``2``, a submitted value of ``20.123`` will be rounded to, for example, +``20.12`` (depending on your `rounding_mode`_). rounding_mode ~~~~~~~~~~~~~