October 26, 2009 at 7:00 am
Hello Friends,
I want to convert 99999 to 99,999.000.
Is any sql function is exists for above conversation??
Thanks
October 26, 2009 at 7:26 am
i've got this saved in my snippets, but it would add only two decimal places, not three...does that matter to you?
results
@test-2 formatted
7265342 7,265,342.00
declare @test-2 float
set @test-2 = 7265342
select @test-2, convert(varchar(20),cast(@test as money),1)
Lowell
October 26, 2009 at 7:29 am
Thanks a lot dear.....
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply