Magento: Format Price

When you fetch product data, you get the price as integer. Now, you have to display the price with currency suffix. You can format price with the following code. Let $_finalPrice be the integer price fetched. To display price with currency symbol: $formattedPrice = Mage::helper('core')->currency($_finalPrice,true,false); // OR $formattedPrice = Mage::helper('core')->formatPrice($_finalPrice, false); To display price without … Read more