Re: precision for float numbers in templates rendering

2009-03-20 Thread Malcolm Tredinnick
On Fri, 2009-03-20 at 07:29 -0700, ihome wrote: > Hi, > > I have to load lots of float numbers into my html pages in list or > list of list format. Even though django template allows me to use a > filter to control the precision of float numbers it is still a pain. > So are the use of "%.2f"

precision for float numbers in templates rendering

2009-03-20 Thread ihome
Hi, I have to load lots of float numbers into my html pages in list or list of list format. Even though django template allows me to use a filter to control the precision of float numbers it is still a pain. So are the use of "%.2f" each to dump the float numbers. Does anyone know whether