title: Formatting numbers from 1000 to 10.00
body: <p>I'll like to format 1000 to 10.00
  The PHP number_format function does not seem to be working for this.</p>
  
  <p>I have tried:</p>
  
  <pre><code>$amount2 = number_format("$cost",2,"",",");
  echo "$cost";
  </code></pre>
  
  <p>Any ideas? Is there a way I can manupulate number_format to display the results (i.e just inserting a decimal before the last two digits?</p>