mmriceiu 05:11:12 | Hi all experts, I have fetched a peculiar problem in calculating integer value. <?php echo (int)((0.1+0.5)*10); // output 6 echo (int)((0.1+0.6)*10); // output 7 // but echo (int)((0.1+0.7)*10); // output 7 which is a big question of mine ?> Can anyone help me please? |