hope someone can help.
Need number_format to show 3 decimal on this.... (actualy 2)
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()/$_product->getAnzeigeMenge()) ?>
alway used number_format($_value, 3,",",".") but dont know how to get this to work.
add below function
add below function in [magento]\app\code\core\Mage\Core\Model\Store.php
you can use above like
actually you can direct modify the formatPrice() in [magento]\app\code\core\Mage\Core\Model\Store.php but as you want both format we create custom function
hope this helpful for you
open [magento]\app\code\core\Mage\Core\Model\Store.php
Note:- change array('precision'=>3) instead of array()
you can use like
Try Using this,
or
Also please check for
More information: http://php.net/manual/en/function.number-format.php
hope this will sure help you.