Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where currency can play an ugly joke
Message
De
16/02/2005 17:51:05
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00986817
Message ID:
00987687
Vues:
41
>SQL Server plays worse jokes on you...
>
>
>declare @c money
>declare @n int
>
>set @c = 9.0000
>set @n = 3
>
>select @c / @n
>select @c * 1 / @n
>select @c * ( 1 / @n )
>
And then if you declare @n money, you get the exactly same 2.9997 as in VFP.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform