Do not understand how this simple php code works
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3726721/php-math-precision">PHP Math Precision</a>  </p>
</blockquote>



<p>The following php code outputs 7 but I expect 8. Why the difference?</p>

<pre><code>&lt;?php echo (int)((0.1+0.7)*10); ?&gt;
</code></pre>
