Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Only currency is sure computation decimals values ?
Message
De
11/06/2003 11:39:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/06/2003 11:12:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00798893
Message ID:
00798972
Vues:
47
>Hi Cetin,
>
>One question:
>
>if i sum 0.1 for 10000000 times,
>
>correct result is 999999.9998 or 1000000.0000 ?
>
>
>Fabio

If I get 1/100000 * Amt commission for 100 transactions and transactions amount total were $5050, correct result is 0.0505 or 0.0510 ?
With double I accept 0.0002 lose even would give $1 back if you give me 1million $$$$$$ :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform