heya all.
I'm currently having the problem that a value is not correctly being rounded by round().
here's an example:
$value = 23.50;
$value2 = round($value*0.03, 2);
$value2 should be 0.71 but however it's only 0.7, so it doesn't give me the last digit.
I don't have that problem on my local machine, just on the remote system.
any ideas?
I'm currently having the problem that a value is not correctly being rounded by round().
here's an example:
$value = 23.50;
$value2 = round($value*0.03, 2);
$value2 should be 0.71 but however it's only 0.7, so it doesn't give me the last digit.
I don't have that problem on my local machine, just on the remote system.
any ideas?