M moganaeme New Member Sep 15, 2012 #1 \[code\]$a = '35';$b = '-34.99';echo ($a + $b);\[/code\]Results in 0.009999999999998What is up with that? I wondered why my program kept reporting odd results.Why doesn't PHP return the expected 0.01?
\[code\]$a = '35';$b = '-34.99';echo ($a + $b);\[/code\]Results in 0.009999999999998What is up with that? I wondered why my program kept reporting odd results.Why doesn't PHP return the expected 0.01?