Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rounding problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00471129
Message ID:
00471374
Vues:
18
>I wonder if anybody has a solution for this:
>
>round(27*51.3*0.85,2) = 1177.34
>round(27.0000*51.3000*0.85,2) = 1177.33
>
>It seems too many zeros produce unexpected result, but it is not avoidable if using field values to the calculation.
>
>Thanks for all.

There is a known issue with rounding in VFP. Look at Thread #459503
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform