sql rounding value

Posted by fishhead on Stack Overflow See other posts from Stack Overflow or by fishhead
Published on 2010-04-03T16:08:39Z Indexed on 2010/04/03 16:13 UTC
Read the original article Hit count: 370

Filed under:

hello, I have been sucsessful at rounding my value to one decimal point but I would like to trim off the multitude oz trailing zeros.

ROUND(SUM(Duration ),1)

ends up giving me

     16.9000000000000000

how do I trim all those trailing zeros.

thanks

mssql

© Stack Overflow or respective owner

Related posts about sql