I have my Magento 2.2.6 webshop set up locally (development mode) and on the server (production mode). On my local installation the cart summary shows a precision of 2 decimals, on my server it shows a precision of 1. Where does this come from? How come they are not the same?

  • Check this if you have help full. magento.stackexchange.com/questions/150721/… – Kirti Nariya Nov 25 '18 at 16:23
  • Extension for price precision: marketplace.magento.com/lillik-module-price-decimal.html – Kirti Nariya Nov 25 '18 at 16:24
  • thanks. I don't want to change it. In the first place I'd like to understand why on two different installations of the same shop with the same configuration, the precision is different. – leah Nov 26 '18 at 5:19
  • So, I figured out that it has something to do with intl NumberFormatter behaving differently on my local system vs. my server running CentOS 6. So I ended up using the above mentioned plugin to make sure the precision is the same on all systems. – leah Dec 5 '18 at 13:16

Your Answer

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

Browse other questions tagged or ask your own question.