Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Round up problem
Message
From
01/08/2007 11:02:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Round up problem
Miscellaneous
Thread ID:
01245162
Message ID:
01245162
Views:
65
round(myfield,2)
if myfield = 2.159 . the return result is 2.16 (which is correct)
However, if myfield =-2.159 , the return result becomes -2.1
my client complaint the result should be -2.16 , but not -2.1

any round up function for -ve ?
Next
Reply
Map
View

Click here to load this message in the networking platform