title: PHP number_format() decimal .99 is turned to .00
body: <p>I want to turn a "dirty" figure into a properly written currency price.
  The input figure will be something like 23.99000 and I want to display 23,99 + the Euro symbol.</p>
  
  <p>I use this:</p>
  
  <pre><code>$price = number_format($price, 2, ',', '')." &amp;#8364;";
  </code></pre>
  
  <p>But the result will be 23,00 € instead of 23,99 €.</p>
  
  <p>What am I getting wrong? Thanks!</p>