round up number

From: Date: Wed, 14 Mar 2001 21:39:05 +0000
Subject: round up number
Groups: php.general 
Request: Send a blank email to php-general+get-43790@lists.php.net to get a copy of this message
How do I round up a lot of decimal number like 10.232656898 to be 10.23 ? Should I use this? $num = 10.26564787; $Rnum = round($num); What would be the function I am looking for and how? Jack jacky@activelifestyle.com "There is nothing more rewarding than reaching the goal you set for yourself"

« previous php.general (#43790) next »