Reading the Bug report, it was mentioned if you want precision
mathmatics, use BCMath
http://www.php.net/manual/en/ref.bc.php
That will give you the precision you are looking for.
Jason Lotito
[EMAIL PROTECTED]
www.NewbieNetwork.net
-Original Message-
From: George Whiffen
Would sprintf() handle your needs?
This seems to work correctly...
$val = sprintf(%.0f,(10*(8.20-0.20)));
produces a string $val equal to 80.
Is this too geeky?
Jimtronic
What a scary day, and it just gets worse
1. A user finds their account balance is displayed incorrectly on
one
2 matches
Mail list logo