﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14317	numberformat.format produces wrong results	Anssi Kääriäinen	Bartosz Grabski	"The problem:
{{{
>>> from django.utils.numberformat import format
>>> print format(0.000000001, ',', 2)
1e-10,2
}}}

It can be fixed with using '%.2f' % number (the format string can be constructed dynamically), and then replacing the decimal separator and doing the grouping if needed. As a bonus, it is faster that way.
"	Bug	closed	Internationalization	dev	Normal	fixed	Localization, number formatting		Accepted	1	0	0	0	0	0
