Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only currency is sure computation decimals values ?
Message
From
11/06/2003 11:39:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
11/06/2003 11:12:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00798893
Message ID:
00798972
Views:
46
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform