note 6058 deleted from round by ronabop

From: Date: Mon, 21 Aug 2000 06:51:41 +0000
Subject: note 6058 deleted from round by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2843@lists.php.net to get a copy of this message
I just happened to read the fixes documented at the php4 release and found that adding a second argument to the round function like this:<br> <pre>round(3.01299999,3)</pre> would round to the number of decimal places indicated in the second argument (in the case of the example to 3.013).

« previous php.notes (#2843) next »