I saw a lot of strange behaviours handling float numbers, but I don't know why that one occurs and how to avoid it...
With PHP on Windows, dividing 1136 by 100 returns 11.359999999999999:
echo (1136 / 100); //11.359999999999999
Why is that?
I saw a lot of strange behaviours handling float numbers, but I don't know why that one occurs and how to avoid it...
With PHP on Windows, dividing 1136 by 100 returns 11.359999999999999:
echo (1136 / 100); //11.359999999999999
Why is that?