Skip to content

Commit 7d6d228

Browse files
committed
[reference][form] Defining exactly what the grouping form option does - closes #320
1 parent 243c069 commit 7d6d228

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ grouping
33

44
**type**: ``integer`` **default**: ``false``
55

6-
The value set as the ``NumberFormatter::GROUPING_USED`` attribute when using
7-
the PHP ``NumberFormatter`` class.
6+
This value is used internally as the ``NumberFormatter::GROUPING_USED`` value when using PHP's ``NumberFormatter`` class. Its documentation is non-existent, but it appears that if you set this to ``true``, numbers will be grouped with a comma or period (depending on your locale): ``12345.123`` would display as ``12,345.123``.

0 commit comments

Comments
 (0)