Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Round() problem
Message
From
27/09/2002 17:10:13
 
 
To
26/09/2002 14:52:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00704895
Message ID:
00705446
Views:
8
A simple solution:

ROUND(lnValue + .005, 2)
ROUND(29.0047 + .005, 2) = 29.01
ROUND(29.0051 + .005, 2) = 29.01

In this case it will always round up
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform