cancel
Showing results for 
Search instead for 
Did you mean: 

can't showing up selling price 2 decimal places. it show ups 4 decimal place but price is correct

can't showing up selling price 2 decimal places. it show ups 4 decimal place but price is correct

I have checked Magento 2.2.3 by default showing up 4 decimal places on selling price in catalog product grid and frontend side layered navigation except for price attribute other than showing up 4 decimal places. Is that magento2 default issues? 

 

If you like my question is useful then kudos on it.

3 REPLIES

Re: can't showing up selling price 2 decimal places. it show ups 4 decimal place but price is correc

Hello @kamlesh_solanki1

 

By default Magento 2 showing two digits.

 

Maybe you are using other locale and it will use 4 digit, may  i know your locale?

 

Re: can't showing up selling price 2 decimal places. it show ups 4 decimal place but price is correc

Price showing up correct but other attribute created based on price like the special price they will display 4 decimal places in product grid admin backend

Re: can't showing up selling price 2 decimal places. it show ups 4 decimal place but price is correc

Hello ,

For price attribute you need to custom thing for Magento.

https://magento.stackexchange.com/questions/127244/getting-an-attribute-price-to-format-to-2-decimal...

Hope it will help you.