title: number format for calculation
body: <p>When 10000-100, then result should be 9900.</p>
  
  <p>I tried when I use:-</p>
  
  <pre><code>&lt; ?php
  
  $num1 = number_format(round(10000,1),2);
  $num2 = number_format(round(100,1),2);
  echo $num1 - $num2;
  
  ?&gt;
  </code></pre>
  
  <p>The above result is -90, that made me realize that the number_format function is not applicable in calculations.</p>
  
  <p>Would there be any way that I can convert a value of number_format (obtained from POST from a previous page) back to numerical value for normal calculation?</p>