Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding problem
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00681174
Message ID:
00723275
Views:
14
Jon:

Since Vfp 5 and I asume it,s the same with vfp 7, after heavy mathematical operations, round doesn´t return always the same for the same parameter. I can´t remember the examples. Three or four years ago I transformed every round() in ours programs to round1()
I didn´t have any problems since that

PROCEDURE ROUND1

LPARAMETER A,B
RETURN VAL(STR(m.A,18,m.B))
Previous
Reply
Map
View

Click here to load this message in the networking platform