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 django template supports a global setting to render all float numbers in a specified precision. Does python have such a global setting? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---