title: want to display exactly 2 digits after floating point
body: <p>I want to convert floating value of 8 digits after floating point in to 2 digits after floating point ..</p>
  
  <p>Eg. $a = 2.200000  ==> 2.20</p>
  
  <p>I am using round function of php. Problem with round is if my number is 2.200000 it converts number in 2.2 . I want output as 2.20</p>
  
  <p>Can any one suggest the possible way?</p>
  
  <p>Actual code </p>
  
  <pre><code>$price = sprintf ("%.2f", round(($opt-&gt;price_value + ($opt-&gt;price_value * $this-&gt;row-&gt;prices[0]-&gt;taxes[0]-&gt;tax_rate)), 2));
  </code></pre>
  
  <p>i want out put like if my floating number is 2.2000000. then it should return me 2.20. but right now it is returning me 2.2</p>