- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2019
04:25 AM
09-11-2019
04:25 AM
How to remove decimals from Price in magento 2.3.0?
i want to remove decimals from Price in magento 2.3.0
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2019
04:58 AM
09-11-2019
04:58 AM
Re: How to remove decimals from Price in magento 2.3.0?
hi @sekhar_n
you can check this here https://magento.stackexchange.com/questions/96534/magento-2-how-to-remove-decimal-points-from-the-pr...
If your problem get solved then please accept it as solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2019
09:56 AM
09-11-2019
09:56 AM
Re: How to remove decimals from Price in magento 2.3.0?
You can replace the Magento\Framework\Locale\Format with your own version
For details see here
https://webkul.com/blog/change-format-price-magento-2/
In the results array changing the require precision like this
'requiredPrecision' => 0,
Should get your values without decimals
Should get your values without decimals