title: magento price getPrice() value
body: <pre><code>function getDescriptionHtml($tpl, $p){
      $out = "";
      $pr = $p["product"];
  
      if(Mage::getStoreConfig('featuredproducts/displayoptions/title') == 'description'){
          $out .= "&lt;ins&gt;&lt;h4&gt;{$pr-&gt;getName()}&lt;/h4&gt;&lt;/ins&gt;";
      }
      $out .= "&lt;span class=\"description\"".
              (!Mage::getStoreConfig('featuredproducts/displayoptions/description') ?
                      "style=\"display:none;\""
                  :
                      ""
              )
              ."&gt;{$p['description']}&lt;/span&gt;";
      $out .= "&lt;ins&gt;&lt;div&gt;".
              (Mage::getStoreConfig('featuredproducts/displayoptions/price') ?
                      "&lt;span style=\"font-size:45px\"&gt;{$pr-&gt;getPrice()}&lt;/span&gt;"
                  :
                      ""
              )       
              ."".
              (Mage::getStoreConfig('featuredproducts/displayoptions/bnb') ?
                      "&lt;div&gt;&lt;button style=\"postion:relative;margin-left:80px;margin-top:140px\" class=\"form-button\" onclick=\"setLocation('{$p["url"]}')\"&gt;&lt;span&gt;{$tpl-&gt;__('Buy Now')}&lt;/span&gt;&lt;/button&gt;&lt;/div&gt;"
                  :
                      "")
              ."
              &lt;/div&gt;&lt;/ins&gt;";
      return $out;        
  }
  </code></pre>
  
  <p>Per the code shown, when I'm using $pr->getPrice() its output looks like 299.0000, but I want it to be like 299.00. How can I do this?</p>