I have tried with amounts under 1000 like 975 and it returns 97.5 as it should but the minute i go over 1000 i get 0.1.
Stupid thing is that I can do it in a test script and everything seems fine.
Code: Select all
$x = 1650.00;
$y = 0.1;
$result = $x * $y;
echo "x*y = $result";Does anyone know what this could be? I have spent about 3 hours trying to figure this out and still no luck.
Brad