on Ceil aFloat vInt = integer(aFloat + 0.4) return vInt end Ceil
And no, it doesn't account for negatives. I'm a positive thinker. :-P Regards, Pranav Negandhi <snip> put Ceil(1.0) -- 2 A little modification is needed <snip> [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!]