mirror of
https://github.com/django/django.git
synced 2025-11-01 20:31:40 +00:00
Fixed billion vs. million bug in docs/model-api.txt. Thanks, Armin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6ad3191418
commit
1929d8e8f3
1 changed files with 2 additions and 1 deletions
|
|
@ -361,7 +361,8 @@ Here are all available field types:
|
|||
|
||||
meta.FloatField(..., max_digits=5, decimal_places=2)
|
||||
|
||||
And to store numbers up to one million with a resolution of 10 decimal places::
|
||||
And to store numbers up to approximately one billion with a resolution of 10
|
||||
decimal places::
|
||||
|
||||
meta.FloatField(..., max_digits=19, decimal_places=10)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue