Open
Description
Preconditions (*)
- Issue reproducible on: Magento version 2.2.7
- Oman Rial selected as currency
Steps to reproduce (*)
- Visit product listing page - see that the products have prices with precision 2.
- Visit product details page - see that the products have prices with precision 3.
Expected result (*)
- Listing page should have consistent price precision with product page.
Oman Rial should have precision 3. - PHP code in Magento, does not take into account Locale precision while the product price js on product details page does, so it works on product details page but not on listing page
Actual result (*)
1.Listing page has wrong precision
Additional Info
Prices in Persian Rial currency are currently displayed with precision 2, but should be displayed with precision 0. - The solution should fix the precision for all currencies.