note 59635 rejected from function.round by dmytton

From: Date: Mon, 12 Dec 2005 07:41:16 +0000
Subject: note 59635 rejected from function.round by dmytton
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-99982@lists.php.net to get a copy of this message
Note Submitter: ---- I cannot use round function to convert the following number.. 1075518.525 <? $x=1075518.525; echo round($x,2); ?> The ans should be 1075518.53 .. but the result is 1075518.52 why not .53 .. but it's .52 it's so strange... anyone know the answer?

« previous php.notes (#99982) next »