When I convert a float value to char, I am getting xxxe-xx, For example..
declare @test1234 float
select @test1234 = 0.00005
select convert(char(30),@test1234)
go
Return
5.0000000000000002e-05
What settings I have to change to display "0.00005".
BTW,
ASE 12.5.1 on Sun Solaris 8
Thanks
RK
declare @test1234 float
select @test1234 = 0.00005
select str(@test1234,7,5)
go
tested on 12.0 on nt
I agree, the STR() function is what you should be using
to convert to CHAR. That is what it is for.
-bret