I want to automatically convert a float to the next highest integer.
Flash has the Math.ceil() method, so what's the most efficient way to do
this in Lingo?


You can call .ceil from a Flash member, but the usual trick in Lingo is:

ceiling = integer(n+.5)


[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