Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How You deal with VFP Rounding BUG
Message
De
22/11/2007 19:29:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How You deal with VFP Rounding BUG
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01270811
Message ID:
01270811
Vues:
81
Hi,

I am interesting in what is the best practice to deal with VFP rounding in calculation proble.

error 1. ? 550000.815*1.00*1.00*1.00*1.00 wrong result
error 2. Round() bug.

Do you round every number and then perform calculations but that we come back to error 1.
Or you do calculus and then round (with some good round routine).
Vladimir Martinovski
VCS Software Inc.
"May the FOX be with You"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform