On 16 Apr 2005 Chris Knipe wrote:

> I'm not sure if round() is what I am after.  I want to round whole numbers 
> to the closest 10 - thus, not decimals, etc.

Just use a precision of -1.  For example round(125, -1) will return 
130.

--
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to