Questions tagged [number]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
12
votes
8answers
21k views

How would I omit zero value decimals in a number format?

Say I have {{ item.width }} and {{ item.height }} which are number fields with 2 decimal places. In my template I have this: <p>Dimensions: {{ item.width }} x {{ item.height }} in.</p> ...
0
votes
1answer
76 views

Display children's order numbers

I thought this was going to be easy; showing the order number of children against their parent, but the only answer I can find is in this thread and I'm unsure how to implement this into my code. {%...