mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #16878 -- Improved intword filter to support numbers up to decillion and googol. Thanks to crodjer for the initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
33ad413c1c
commit
6cae2a550d
6 changed files with 225 additions and 71 deletions
|
@ -65,7 +65,7 @@ Examples:
|
|||
* ``1200000`` becomes ``1.2 million``.
|
||||
* ``1200000000`` becomes ``1.2 billion``.
|
||||
|
||||
Values up to 1000000000000000 (one quadrillion) are supported.
|
||||
Values up to 10^100 (Googol) are supported.
|
||||
|
||||
:ref:`Format localization <format-localization>` will be respected if enabled,
|
||||
e.g. with the ``'de'`` language:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue