You want to use the normalize_decimal filter to do this. Make sure that the following is at the top of your template:
{% load normalize_decimal %} then use it like this: {{ item.quantity|normalize_decimal }} -Chris On Fri, Apr 27, 2012 at 12:54 PM, Shawn Collins <fracass...@gmail.com>wrote: > Hey guys, I love this satchmo program. I'm trying to get the quantity > that shows on the invoice to read just one digit. Looking at the > invoice.rml I found the tag {{ item.quantity }} but I can't figure out > where to edit that tag to make quantities a whole number. Can anyone > point out where to edit this? > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to satchmo-users@googlegroups.com. > To unsubscribe from this group, send email to > satchmo-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to satchmo-users@googlegroups.com. To unsubscribe from this group, send email to satchmo-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.