How do I remove the “.0” in product quantities?

The value from the e-commerce platform only shows “1”

How do I remove the “.0” in product quantities?
The value from the e-commerce platform only shows “1”
Best answer by Indy.
Hey there! You can remove this by using ‘float format’ - try putting
|floatformat:0
after the property, before you close it. So it would look like:
{{ INSERTPROPERTY|floatformat:0 }}
That should do the trick!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.