title: PHP - Floating Number Precision
body: <pre><code>$a = '35';
  $b = '-34.99';
  echo ($a + $b);
  </code></pre>
  
  <p>Results in 0.009999999999998</p>
  
  <p>What is up with that? I wondered why my program kept reporting odd results.</p>
  
  <p>Why doesn't PHP return the expected 0.01?</p>