title: Magento: get price in current currency
body: <p>I am having an extension that shows the products on main page in tabs. It uses the following code to get the price of product</p>
  
  <p><code>$price = $_product-&gt;getPrice();</code></p>
  
  <p>and then uses the following code to display it </p>
  
  <p><code>echo '&lt;span class="price"&gt;'.number_format($price,2).'&lt;/span&gt;'</code></p>
  
  <p>It works OK on the base currency but when another currency is selected it will not convert the price to that currency. </p>
  
  <p>How can I show the price in current currency instead?</p>