title: PHP casting float to int returns different value
body: <p>When I'm executing the following code in PHP (v5.5.9) something unexpected happens:</p>
  
  <pre><code>$valueAsCents = 54780 / 100 * 100;
  var_dump($valueAsCents);
  var_dump((int) $valueAsCents);
  </code></pre>
  
  <p>This returns </p>
  
  <pre><code>float 54780
  int 54779
  </code></pre>
  
  <p>So apparently the float value with no decimals, is not equal to the int value. Any ideas of what's going on here?</p>