truncating to 2 decimals
Hi
I am querying data from sqlserver there i want to display output with 2 decimal points .Doing like this
ex: select round(sales,2) from x
sales="12345.67789"
here i am getting 123456.68000 but i need to dispaly 123456.68 only.Sales data is not fixed length so i cant use left or right function.How to get with 2 decimal points?
|