SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Float Data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SQLnewbie99
Starting Member

Canada
1 Posts

Posted - 02/06/2013 :  21:15:07  Show Profile  Reply with Quote

Question answered,thanks for your help!

Edited by - SQLnewbie99 on 02/07/2013 09:51:02

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 02/06/2013 :  22:48:19  Show Profile  Reply with Quote
if its float or real, its an approximate data notation so would try to display it in scientific notation if number of significant figures after decimal is large. If you want exact value to be considered, use decimal or numeric with required scale value specified

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 02/06/2013 :  22:57:51  Show Profile  Reply with Quote
also see

http://visakhm.blogspot.in/2012/08/floating-point-formats-in-sql-server.html

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22761 Posts

Posted - 02/08/2013 :  07:37:02  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
quote:
Originally posted by SQLnewbie99


Question answered,thanks for your help!



Never edit the post to remove the question. This prevents others to learn anything from this topic

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000