Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding of decimal places
Message
From
15/11/2003 18:47:36
 
 
To
27/10/2003 03:04:17
Janet Uy
Computer Craft Corporation
Quezon, Philippines
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00842819
Message ID:
00850344
Views:
16
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform