In my database I have an integer field storing price information, like "10399", "84700". When display, they should be "$103.99" and "$847.00".
I need int*0.01 to be displayed.
I was wondering if there is a way to do it using Django template filter? Like:
{{ item.price|int_to_float_and_times_0.01 }}
Another question, actually I chose integer because I thought it would be more efficient than using float in database. Is that true?