Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dealing with totals
Message
De
18/12/2007 10:50:40
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
18/12/2007 10:43:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01276461
Message ID:
01276464
Vues:
28
Dennis,

I had this problem years ago. I started storing values using 4 decimal places and then rounding the result. Sales tax was the biggest problem. I hate storing totals.



>I have always been of the opinion that invoice totals should be calculated when needed rather then stored. The problem is that I get a different result, the so called penny difference, when comparing different types of reports.
>When I review others code I see most people are storing the invoice total and sales tax total and using those totals on reports.
>Any ideas as to what the best approach might be?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform