We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f036e0 commit 381557dCopy full SHA for 381557d
1 file changed
docs/numbers.rst
@@ -18,13 +18,16 @@ Examples:
18
19
.. code-block:: pycon
20
21
+ # Numbers with decimal places
22
>>> format_decimal(1.2345, locale='en_US')
23
u'1.234'
24
>>> format_decimal(1.2345, locale='sv_SE')
25
u'1,234'
26
+ # Integers with thousand grouping
27
>>> format_decimal(12345, locale='de_DE')
28
u'12.345'
-
29
+ >>> format_decimal(12345678, locale='de_DE')
30
+ u'12.345.678'
31
32
Pattern Syntax
33
==============
0 commit comments