2

Is there an easy way to strip trailing zeros from decimals so that

select amount from table

gives you 2.5 instead of 2.50 or 3 instead of 3.00?

Thanks,

Tom

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Sreekumar P
  • 5,900
  • 11
  • 57
  • 82
  • Duplicate: http://stackoverflow.com/questions/2938296/remove-trailing-zeros-from-decimal-in-sql-server – Kashif Oct 21 '10 at 07:21

1 Answers1

2

remove-trailing-zeros-from-decimal-in-sql-server

Community
  • 1
  • 1
Kashif
  • 14,071
  • 18
  • 66
  • 98