round

From: Date: Wed, 31 Jan 2001 10:31:17 +0000
Subject: round
Groups: php.general 
Request: Send a blank email to php-general+get-37448@lists.php.net to get a copy of this message
Hi Lets say $foo=20.12345 In php4 you can use : $foo=$round($foo,2); to get $foo=20.12 What can I use in php3 to get the same result. $foo=$round($foo); gives me $foo=20 Not what I realy want??? Thanks Ajdin

« previous php.general (#37448) next »