I have a simple comparison in my code: [simplified]
if (1.7 >= 17 * 0.1) {
echo '1.7 is greater than or equal to ' . 17 * 0.1;
} else {
echo '1.7 is NOT greater than or equal to ' . 17 * 0.1;
}
It gives the result:
1.7 is NOT greater than or equal to 1.7
I wonder can anybody explain this?