Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rounding of decimal places
Message
De
15/11/2003 18:47:36
 
 
À
27/10/2003 03:04:17
Janet Uy
Computer Craft Corporation
Quezon, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00842819
Message ID:
00850344
Vues:
18
Hi Janet,

It has something to do with SIGNIFICANT DIGITS. A product will always have as number of decimals equal to the sum of the decimals places of the mulitiplier and multiplicant (such a word?)...

>Why is the result of
>
>round(3.9 * 55.15,2) = 215.09 different from
>round(3.900000000 * 55.15,2) = 215.08 ?

HTH,
Dennis

PS How's Wilson?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform