is there any way to set a default formating for float/decimal numbers like default formats for date/datetime values?

9 views
Skip to first unread message

Juan Jose Huelga

unread,
Jul 1, 2014, 4:47:21 PM7/1/14
to django...@googlegroups.com
I would like to set a float or decimal format like those set in django.conf.locale.en.formats, for example a default format that floatformat template filter could use to format my numbers by default without decimal places. Something like settings.USE_THOUSAND_SEPARATOR that django use by default when shows a number.

Greetings
Reply all
Reply to author
Forward
0 new messages