Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Truncating decimals
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01146902
Message ID:
01146917
Views:
40
>0.03
>0.03
>0.03
>0.04
>0.04
>0.04
>0.04
>
>which totals 0.25

I don't see how you can deal with such an arbitrary rounding error exactly. Since each segment should actually be .0357 (depends on your SET DECIMALS setting), how do you determine which ones get to be ".03" and which ones get to be ".04"?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform