Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use Round() to get upper value ?
Message
From
18/03/2003 17:15:58
 
 
To
18/03/2003 16:42:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00767263
Message ID:
00767279
Views:
14
Mark,

Yes It does the job . but there's a small problem.

myNumber = 456.123

? round(myNumber+0.005,2) && Displays 456.13
So far so good..

Now if myNumber = 456.00
? round(myNumber+0.005,2) && Displays 456.01

I want to see just 456.00 at this point

Any ideas how to take care of that ??

TIA

- Jeana -
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform