Hello!
I’m attempting to add two variables using the add filter and then multiple the result
{{item.options.price|add:item.unit_price|multiply:item.quantity|floatformat:2}}
This works fine if both item.options.price and item.unit_price are whole numbers. If one is a decimal, the addition does not happen.
I’ve also tried a simplified version
{{item.unit_price|add:0.25}}
And only the item.unit_price is shown without 0.25 added.
Can the add filter handle decimals?