Quote:
|
Originally Posted by azguy
Try to add 1 to it
|
No luck...also tried * 1, using settype to make sure they are equivalent types and few other things.
The weird part is, if I only add a value once, its fine.
ie.
PHP Code:
$var = 0;
$var += 0.00004;
echo $var;
will give me 0.00004 as output.
Once I loop on it though and add more values, it changes format.
Weird, no one on IRC or google could solve it...my fix above though works for my purposes..