Avatar of Varshini S
Varshini S

asked on 

SQL query output only need two decimal places

select  convert(varchar,totalamt ) as TotalAmount   from table1

Output:  18882.019

15882.050
8078.816

I need the output in the following format  (need only two decimal places). How do i achieve this ?
18882.01
15882.05
8078.81
Microsoft SQL Server 2008

Avatar of undefined
Last Comment
PortletPaul

8/22/2022 - Mon