Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with calculation
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173441
Message ID:
01173448
Views:
7
>Hi everybody,
>
>We have a table based on which we calculate commissions for the sales people. This table has field Rate 9.7
>
>In our calculations we're using another table with the Rate field 5.2 and in all calculations we first update Rate field in that table and then use that Rate in our calculations losing several digits.
>
>I mentioned it yesterday to my boss and he told me to try to use the whole rate.
>
>Now I compared data between old and new program on production data and found a difference in more than 2K. I guess, I better return to the original way of calculation then...

You could update your application to use a new calculation, but during the update replace ALL old RATE field with the actual value (5,2), so for old time you will have the same values, but from now on you will calculate better.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform