Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

How to remove trailing zeros from a decimal (type) value?

$
0
0
Hi Everyone,I would like to 'drop' some trailing zeros from a decimal value, e.g.: 50.000000, and I am wondering how to go about this?The value is definitely of decimal type, and in this instance I know that I want to eliminate exactly six (6) zeros.Any help here will be greatly appreciated.Kind Regards,David

Viewing all articles
Browse latest Browse all 3145

Trending Articles