Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Float Data

Author  Topic 

SQLnewbie99
Starting Member

1 Post

Posted - 2013-02-06 : 21:15:07

Question answered,thanks for your help!

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-02-06 : 22:48:19
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

52326 Posts

Posted - 2013-02-06 : 22:57:51
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

22864 Posts

Posted - 2013-02-08 : 07:37:02
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
   

- Advertisement -