Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why not 1*(0.5-0.4-0.1) = 0?
Message
From
07/01/2005 11:13:56
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
07/01/2005 08:20:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Database:
MS SQL Server
Miscellaneous
Thread ID:
00974881
Message ID:
00975126
Views:
40
Hi Cetin,

>>When I put this formula in Excel the result's -2,77556E-17, but if I format the cell to number, the result's 0. When do you format cell to number the same occcur?
>>Btw, Congrats for Personality!
>
>Erick,
>Real concern was not excel or display format, it was only the simpliest way I thought to show the problem. .Net, C, SQL server also have the same problem.
>Cetin

Ok. I'm sorry. 8-D
PS: (SQL Server 2000) I put, in Query Analyser, Select 1*(0.5-0.4-0.1) Result and the Result's .0.
Erick
Força Sempre!
Strength Always!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform