I followed this guide: https://shopify.dev/docs/themes/liquid/reference/filters/math-filters to display discount table prices on products pages.
It works well but:
If the price is £2.61 it displays correct, if it's £2.60 it displays as £2.6 without a 0.
See screenshot images attached of code and display, help is very appreciated.
Solved! Go to the solution
This is an accepted solution.
Try adding the | money_with_currency filter to the end of your liquid code (after the round: 2). Then you can remove the hard-coded pound symbol then too.
I think that should do it.