Sometimes you need to display get formatted price (for example on custom grids in admin ) but without currency symbol.
There is simple code to display formatted price without currency symbol.
Mage::getModel('directory/currency')->format( $price, array('display'=>Zend_Currency::NO_SYMBOL), false );
For displaying formatted price with currency symbol you just need to use this
Mage::helper('core')->formatPrice($price, true, false);
Related posts:
How to Set Up Admin Dashboard
Setting Up Your Admin Dashboard
After downloading and installing Magento, the next step is the Da...
Url friendly string
If you need to transform some string to url-friendly string in Magento you just need to call method ...
Magento get Root Category Id
In Magento for getting root category id for current store view you should just run a code
<?php ...
How to setup and send newsletter
How To Setup Magento Newsletter
If you are reading this, then obviously you know how important ne...