On Mon, 12 Feb 2007 18:02:41 +0100, <tg-php@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Is there an easy way in php to round to the nearest 500?
Yeah $rouned = round($val/500) * 500; Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php