#3382: FloatField values get rounded on save()
----------------------------------------+-----------------------------------
   Reporter:  rfugger at gmail dot com  |                Owner:  adrian         
       
     Status:  new                       |            Component:  Database 
wrapper      
    Version:  SVN                       |           Resolution:                 
       
   Keywords:  float rounding            |                Stage:  Design 
decision needed
  Has_patch:  0                         |           Needs_docs:  0              
       
Needs_tests:  0                         |   Needs_better_patch:  0              
       
----------------------------------------+-----------------------------------
Comment (by mtredinnick):

 I think this is almost impossible to fix perfectly, because it would
 require checking the field type everywhere we constructed an SQL query to
 pass to the DB API(s). It's possible to use something like %f in those
 strings if we had the information, but it would be a really fiddly change
 to make.
 
 If you'd like to create a patch, we can certainly take a look at it, but I
 don't think this is a high priority change at the moment.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3382#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to