Posts Tagged "Remove Decimal Value"

Remove decimal value from price of product in magento

Remove decimal value product price Magento Price of product is : 135.00USD => 135USD How to remove decimal value from product price in magento? In order to remove decimal digits in price of product magento, we need to custom some code :Go to this file : app/code/core/Mage/Directory/Model/Currency.php Open app/code/core/Mage/Directory/Model/Currency.php Find the following code on line no 195 :- Find this code: public function format($price, $options=array(), $includeContainer = true, $addBrackets = false) { return $this->formatPrecision($price, 2, $options, $includeContainer, $addBrackets); } and…

Like to share it
Read More