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.
Author |
Topic |
JohnMcLaughlin
Starting Member
28 Posts |
Posted - 2010-11-23 : 11:00:55
|
How do I convert the data type to compare values in two tables?The two columns below represent my tables. I am trying to compare these two values using <>. 0.9604 0.960399999999999920.9604 0.960399999999999920.8281 0.828100000000000060.8281 0.828100000000000060.8836 0.88359999999999994How can i convert the right column to 4 decimal places so that the columns compare. |
|
X002548
Not Just a Number
15586 Posts |
|
X002548
Not Just a Number
15586 Posts |
|
JohnMcLaughlin
Starting Member
28 Posts |
Posted - 2010-11-23 : 11:08:03
|
Left was 'Numeric(18,2)' and right was 'float'. But I have multiplied these by other values of the same type. |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|
|