David Burgun wrote:

Hi,

I just want to always round a number up, for instance 25.1 25.0000001 25.3 25.5 25.99999 should all be rounded up to 26.

The round and statFunctions don't seem to do this, is there a function that does?

Don't think there's one built-in.

function ceil pVal
 return ceil(pVal)+1
end ceil

--
Alex Tweedly       http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to