>Curses!! I remember doing this a few years ago. I have a number - 3.7 and when I use int I get 3 and I want 4. How please.
Try, round down just the opposite
lnnum=-3.7
if lnnum>0
lnresult=ceiling(lnnum)
else
lnresult=floor(lnnum)
endif
? lnnum
Regards N Mc Donald