Author: justi9
Date: 2010-07-11 17:47:39 -0400 (Sun, 11 Jul 2010)
New Revision: 4100
Modified:
mgmt/newdata/cumin/python/cumin/model.py
Log:
Fix formatting of floats
Modified: mgmt/newdata/cumin/python/cumin/model.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/model.py 2010-07-11 21:32:54 UTC (rev 4099)
+++ mgmt/newdata/cumin/python/cumin/model.py 2010-07-11 21:47:39 UTC (rev 4100)
@@ -555,7 +555,7 @@
class CuminStatistic(object):
formatters = {
NoneType: lambda x: fmt_none(),
- float: lambda x: "%0.2d" % x,
+ float: lambda x: "%0.2f" % x,
Decimal: lambda x: str(x),
int: lambda x: "%i" % x
}
Show replies by date