hello all -
How do i convert the result of the multiplication to decimal?
dec((QUANTITY *RATE),2,2) did not work
Now the result=59.400000, should be = 59.40
thanks a lot for help!
cristi
How do i convert the result of the multiplication to decimal?
Code:
SELECT QUANTITY, (QUANTITY *RATE) AS RATE1,RATE
FROM MEMBER_WORK_PERIOD_FUND WHERE MEMBER_KEY AND FUND='GNYPF' AND APP='HW'
dec((QUANTITY *RATE),2,2) did not work
Now the result=59.400000, should be = 59.40
thanks a lot for help!
cristi