How floating-point convert to integer with truncate? : <pre><code>int a = atof("4.60") * 100;
int b = atof("6.60") * 100;
printf("a:%d",a); //&lt;==== here print a:459
printf("b:%d",b); //&lt;==== here print b:660
</code></pre>

<p>In IEEE 754, 4.60 is 4.599999999... and 6.60 is 6.5999999...
I expect print b will show 659 too.
How does the truncate work? </p>
