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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.