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
|
@ -361,7 +361,8 @@ Here are all available field types:
|
||||||
|
|
||||||
meta.FloatField(..., max_digits=5, decimal_places=2)
|
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)
|
meta.FloatField(..., max_digits=19, decimal_places=10)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue