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 2000 Forums
 Transact-SQL (2000)
 Data Conversion

Author  Topic 

u2p_inst
Yak Posting Veteran

78 Posts

Posted - 2004-03-19 : 01:02:17

I having the problem, when I convert a data in table below:

aaaa 6481648328.0
bbbb 0.83999999999999997
cccc 6477060411.0
dddd 4.0000000000000001E-2


I can not find the result as follow:

aaaa 6481648328.0
bbbb 0.83999999999999997
cccc 6477060411.0
dddd 0.04

Can Help me to solve the problem

Thanks

oh

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2004-03-19 : 01:35:39
do you mean something like this:

select CAST(4.0000000000000001E-2 as DECIMAL(18, 8))



Duane.
Go to Top of Page
   

- Advertisement -