Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use Round() to get upper value ?
Message
From
19/03/2003 10:14:25
 
 
To
18/03/2003 16:27:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00767263
Message ID:
00767564
Views:
12
I'm not sure if I have done things the long way here but how about...

(INT(n*100)+IIF(MOD(n*100,1)>0,1,0))/100

where n is your number. Above assumes 2 decimals.
Previous
Reply
Map
View

Click here to load this message in the networking platform