#3004: [patch] add precision argument to floatformat from default filters
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: reopened | Component: Template system
Version: SVN | Resolution:
Keywords: floatformat precision | Stage: Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------------------+-----------------------------------
Changes (by Mark Riedesel <[EMAIL PROTECTED]>):
* status: closed => reopened
* version: => SVN
* resolution: fixed =>
Comment:
I see this bug was fixed almost a year ago, but it seems like either it's
broken again or I'm using it improperly. The value I'm passing to the
filter is 18.125, if I use floatformat:2 the result is 18.12 instead of
the expected 18.13. Tested with SVN revision 6483 (Sept 13th, 2007)
--
Ticket URL: <http://code.djangoproject.com/ticket/3004#comment:15>
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
-~----------~----~----~----~------~----~------~--~---