Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Round() problem
Message
From
30/09/2002 09:56:54
 
 
To
27/09/2002 17:10:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00704895
Message ID:
00705887
Views:
9
A simple solution (Minor Correction: .0050 would round up for .0000):

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

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

Click here to load this message in the networking platform