The functions of Robert Tweed work like a charm... and they look more
sophisticated ::)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fumio Nonaka
Sent: dinsdag 17 juni 2003 14:57
To: [EMAIL PROTECTED]
Subject: Re: <lingo-l> rounding numbers....

put Ceil(1.0)
-- 2

A little modification is needed
_____
[EMAIL PROTECTED] wrote:
> on Ceil aFloat
    -- vInt = integer(aFloat + 0.5)
    vInt = integer(aFloat + 0.5) - (integer(aFloat) = aFloat)
>   return vInt
  -- end Floor
  end Ceil

Good luck,

Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
See also:http://www.F-site.org/
Rokunana Workshop of Media Design:http://www.67.org/ws/
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]).
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to