#17779: floatformat template filter no longer works at all ---------------------------------+------------------------------------- Reporter: jasper@… | Owner: nobody Type: Bug | Status: new Component: Template system | Version: SVN Severity: Release blocker | Keywords: floatformat templatetag Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 1 | UI/UX: 0 ---------------------------------+------------------------------------- As of a recent commit, the floatformat template filter no longer works at all:
{{{ >>> from django.template.defaultfilters import floatformat >>> import decimal >>> floatformat(decimal.Decimal('12.345'), 2) u'12.345' >>> floatformat(12.345, 2) u'12.345' >>> floatformat(12.345, 5) u'12.345' >>> floatformat(12.345, -2) u'12.345' }}} -- Ticket URL: <https://code.djangoproject.com/ticket/17779> Django <https://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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.