July 4, 2003 at 7:35 am
Could some one help me out . I have always problem with the decimal value in SQL Server 2000 . I want some value in decimal . here is what I want .
DECLARE @test-2 Float
SET @test-2 = 1 - (((2302 - 2000)/2302) * 100)
SELECT@test-2
Answer must be = 12.11 according to calcualor
I always get 0 when division result is like 0.1,0.2 etc
How to get it right .
Thanks
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply