You are here: getting rid of trailing zeroes from a decimal output « MsSQL Server « IT news, forums, messages
getting rid of trailing zeroes from a decimal output

Posted by David Greenberg on 01/31/06 16:48

Hi
I use SqlServer 2000
I am doing a select and sending the results, which is a cast() into
decimal (9,3), in an email to various other users of our system.
Problem is that a number like 95.2 is display as 95.200. Is there any
way I can trim it so that it will display 95.2 ?
David

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация