round and statRound

Alex Tweedly alex at tweedly.net
Wed Apr 13 15:24:17 EDT 2005


Alex Tweedly wrote:

> Don't think there's one built-in.
>
> function ceil pVal
>  return ceil(pVal)+1
> end ceil
>
Sorry - I meant
    return trunc(pVal)+1

-- 
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



More information about the use-livecode mailing list