Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00471129
Message ID:
00471374
Views:
17
>I wonder if anybody has a solution for this:
>
>round(27*51.3*0.85,2) = 1177.34
>round(27.0000*51.3000*0.85,2) = 1177.33
>
>It seems too many zeros produce unexpected result, but it is not avoidable if using field values to the calculation.
>
>Thanks for all.

There is a known issue with rounding in VFP. Look at Thread #459503
Previous
Reply
Map
View

Click here to load this message in the networking platform