#14317: numberformat.format produces wrong results -------------------------------------+------------------------------------- Reporter: akaariai | Owner: akaariai Status: new | Milestone: Component: | Version: 1.2 Internationalization | Keywords: Localization, number Resolution: | formatting Triage Stage: Design | Has patch: 1 decision needed | Needs tests: 1 Needs documentation: 1 | Patch needs improvement: 1 | -------------------------------------+-------------------------------------
Comment (by _roman): I can’t duplicate this error. I've used Django vr.1.3 and vr.1.2 to achieve the same error, but in all cases I’ve drawn correct results. {{{ >>> from django.utils.numberformat import format >>> print format(0.000000001, ',', 2) 1e-10,00 }}} -- Ticket URL: <http://code.djangoproject.com/ticket/14317#comment:3> Django <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 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.