Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Round up
Message
From
16/03/2011 07:43:17
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
15/03/2011 22:36:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01503812
Message ID:
01503845
Views:
54
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform