ghettocounselor
asked on
SQL - CAST to two decimal places not working as expexted
I would expect that this:
CASE WHEN [ROUTE] IN ('PO','TOP','INH','TP','VA G') THEN CAST(MED_PRICE AS DECIMAL(18,2)) ELSE IV_PRICE END PT_CHARGE_BY_DU
would not give me 96.8800
but alas it does
CASE WHEN [ROUTE] IN ('PO','TOP','INH','TP','VA
would not give me 96.8800
but alas it does
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER