Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
select convert(decimal(5,2),<column>)
select <result name>=
case
when <col name> <> 0 then
convert(varchar(20),convert(decimal(10,2), <col name>))
else
'0.00'
end
from <table>
DECLARE @m money
SET @m = 12345.6789
--gives 12345.68
SELECT CONVERT(varchar, @m, 0)
--gives 12,345.68
SELECT CONVERT(varchar, @m, 1)
--gives 12345.6789
SELECT CONVERT(varchar, @m, 2)