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
 General SQL Server Forums
 New to SQL Server Programming
 convert to double

Author  Topic 

cwtriguns2002
Constraint Violating Yak Guru

272 Posts

Posted - 2007-03-22 : 02:14:53
Hi all. How to convert a 1.000000000 to 1.00?

sample...
select amount from .....

Thanks
-Ron-

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-03-22 : 02:18:32
SELECT CAST(1.00000000000000000000 AS NUMERIC(13, 2))


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -