When I execute the following lines the data is getting trucated after 6 decimal or 9 decimal, why? how to overcome this problem.
declare @a numeric(30,16), @b numeric(30,16)
set @a=12.1234567890123456
set @b=1.1
select @a
select @a*@b
select (@a*1.00)*(@b*1.00)
select (@a*@b)*1.00
select convert(float,@a*@b)
I am using SQL Server 2000.
Thanks
Immanuel
declare @a numeric(30,16), @b numeric(30,16)
set @a=12.1234567890123456
set @b=1.1
select @a
select @a*@b
select (@a*1.00)*(@b*1.00)
select (@a*@b)*1.00
select convert(float,@a*@b)
I am using SQL Server 2000.
Thanks
Immanuel