What's happening with PHP's intval() and strval()?
<p>So I got this:</p>

<pre><code>$n = "19.99";

echo (int) ($n * 100);
echo (int) strval($n * 100);
</code></pre>

<p>That outputs:</p>

<pre><code>1998
1999
</code></pre>

<p>And I just don't get it. What happened? <code>$n * 100</code> is 1999 (float), why aren't they the same then?</p>
