Get Magento Format Price with default currency symbol

Whenever we fetch all data of a product by using either product sku or by using product id, Price also we need . But if we fetch product price then it display price as number format without any currency . So if you want to fetch price like magento price format then you have to pass your price variable in the following code then you can get the dynamic currency also.

Let you got your price by

$price = $_Pdetails->getPrice(); 
// To fetch price like magento format price write 
$magento_style_price = Mage::helper('core')->currency($price);
DOWNLOAD SOLUTION HERE