note 90545 deleted from function.round by danbrown

From: Date: Mon, 27 Apr 2009 19:01:41 +0000
Subject: note 90545 deleted from function.round by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-153856@lists.php.net to get a copy of this message
Note Submitter: delustas ( in ) gmail is com ---- Is this bug? <?php $a=1.0748; round( $a , 2); // 1.07 // but: round( $a , 3); // 1.075 // and round( round($a,3) , 2); // 1.08 hurrraaaa ?> Why round(1.0748 , 2) not 1.08?

« previous php.notes (#153856) next »