i want to show a price as a whole number if the number after decimal is 0 but if the price has any specific number after the decimal then it should display the same price
tried round:1 but didn't work
i want to show a price as a whole number if the number after decimal is 0 but if the price has any specific number after the decimal then it should display the same price
tried round:1 but didn't work
You can just remove ".00" after the price
{{ product.price | money | remove: '.00' }}
If you will haven't ".00" it will just skip it