On Thursday, March 14, 2002, at 08:41 PM, "Subscriber" <[EMAIL PROTECTED]> wrote:
> if trunc(x)=x then --check the number is an integer > return x > else > return (trunc(x)+1) -- if not then return the next integer > above > end if The above works fine, but just for the record, there is also the "is an integer" test: put 1 is an integer -- TRUE put 2.3 is an integer -- FALSE -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
