Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where currency can play an ugly joke
Message
From
16/02/2005 17:51:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00986817
Message ID:
00987687
Views:
40
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform