Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding Question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00044419
Message ID:
00044577
Views:
35
>Do all your calculations with the same precision.
>
>Vlad
>
>>I have a financial type app and parts of it use calculations that
>>cause values in fractional cents. For example, the result of one
>>calculation may cause a value of 3.5835 while another will be
>>3.5888. This can cause rounding errors when reporting the data
>>in dollars and cents.
>>
>>How do things like SBT accounting systems handle these issues?

This is one of the reasons there is the 'Currency' type data - it defaults to 4 decimal places so that this kind of rounding problem is eliminated.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform