Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why not 1*(0.5-0.4-0.1) = 0?
Message
De
07/01/2005 11:13:56
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
07/01/2005 08:20:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Database:
MS SQL Server
Divers
Thread ID:
00974881
Message ID:
00975126
Vues:
41
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform