Link to home
Start Free TrialLog in
Avatar of cjustman
cjustman

asked on

DB2 Integer to Decimal

I am trying to cast as Integer column to Decimal but it is not working for any number other than 0.

Cast((COALESCE(td.BILL_1_CNT ,0)* 1.00) AS DECIMAL(31,2)) as Denomination_Amount
ASKER CERTIFIED SOLUTION
Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial