#5748: Fix rounding issue with floatformat filter
------------------------+---------------------------------------------------
Reporter:  SmileyChris  |       Owner:  nobody         
  Status:  new          |   Component:  Template system
 Version:  SVN          |    Keywords:                 
   Stage:  Unreviewed   |   Has_patch:  0              
------------------------+---------------------------------------------------
 #3004 introduced a precision argument for the `floatformat` filter, but
 also discussed a rounding bug (it's a Python rounding problem with
 `float`).

 The best solution to these was using the `decimal` module but the solution
 was not used because `decimal` is a Python 2.4 feature. Since then, a port
 of the `decimal` module has been included with Django.

 So we can fix the rounding bug related with the `floatformat` filter now.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5748>
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