Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Round() problem
Message
 
To
26/09/2002 14:52:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00704895
Message ID:
00704905
Views:
14
When you round to 2 places VFP only looks at the thridf place to determine its rounding. If you want it otherwise you can;
lnVal = 2932.0047
?ROUND(ROUND(lnVal,3),2)
and you will get 2932.01
Previous
Reply
Map
View

Click here to load this message in the networking platform