note 50708 rejected from function.round by nlopess

From: Date: Tue, 08 Mar 2005 19:14:31 +0000
Subject: note 50708 rejected from function.round by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-86118@lists.php.net to get a copy of this message
Note Submitter: cosmosonur at yahoo dot com ---- this one; $a=0.0401; $b=250; $c=($a*$b); $d=round($c,2); echo $d; --------------- display: 10.02 why is not same ??? this two $a=401; $b=250; $c=$a*$b/10000; $d=round($c,2); echo $d; --------------- display: 10.03 I don't understand why is not same????

« previous php.notes (#86118) next »