Re: round?

From: Date: Sat, 16 Apr 2005 15:43:55 +0000
Subject: Re: round?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213205@lists.php.net to get a copy of this message
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

« previous php.general (#213205) next »