Write a number with two decimal places SQL server

student2009 picture student2009 · Jan 14, 2009 · Viewed 836.4k times · Source

How do you write a number with two decimal places for sql server?

Answer

Manoj picture Manoj · Feb 12, 2009

try this

SELECT CONVERT(DECIMAL(10,2),YOURCOLUMN)