I have some products with 2 decimals, as eg: 28.88, I would like to round the last decimal so the product price would be 28.89.

Also if the price is 28.84, round them to 28.80. Which means if price last digit is >5 then round up, ad if last digit is <5,then round down.

Thanks for your help, I've followed some tutorials but I only make the price to be cutted off into a 1 decimal.


There is a free plugin which you can install and use it. This will round off prices on listing, production, cart view and checkout summary page.


  • Hi, thanks for your help. Unfortunately, this just cut off the decimal from the price, this can be done chaning the deep of decimal in magento core. What I need is to round up like this: 45.99 = 46.00 keeping the same decimal. – Goks Calderón Dec 23 '18 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.