How to cast a doubleto a decimal in Oracle SQL?

Posted by theringostarrs on Stack Overflow See other posts from Stack Overflow or by theringostarrs
Published on 2010-06-09T03:19:49Z Indexed on 2010/06/09 3:22 UTC
Read the original article Hit count: 167

Filed under:
|
|
|

I am trying to cast a number, I think it is a double, to a decimal using the following:

CAST(syr_ep AS decimal(10,3)) As EP

which is still returning a double, so how do I achieve this?

© Stack Overflow or respective owner

Related posts about sql

Related posts about Oracle