PHP 5.0.5 running on Win2k Server
$rate = 0.015;
$value = 15;
echo $rate * $value;
echo "<BR>";
echo round($rate * $value , 2);
output:
0.225
0.22
Shouldn't this be?
0.225
0.23
$rate = 0.015;
$value = 15;
echo $rate * $value;
echo "<BR>";
echo round($rate * $value , 2);
output:
0.225
0.22
Shouldn't this be?
0.225
0.23
Comment