.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

how to remove trailing zeroes in a decimal in sql server

Posted By: Kannan     Posted Date: June 27, 2014    Points:5   Category :Sql Server
how to remove trailing zeroes in a decimal in sql server. please help me out

Responses
Author: Deco             
Posted Date: June 27, 2014     Points: 20   

Dinesh,

You have to cast that to float to remove the trailing zeroes. please check this script for an example

http://dotnetbites.com/sql-remove-trailing-zeroes

Regards,
Deco
Author: Kannan             
Posted Date: June 27, 2014     Points: 20   

Thanks Much Deco...

Author: ASPEvil             
Posted Date: June 29, 2014     Points: 20   


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend