With the following code
yields a value like .06124984, I want it to return 6.12500000
Thanks for the help
Code:
update nyl_sfp_remit
set net_rate = case beg_prin_bal when 0 then 0 else (interest * 12/beg_prin_bal)*100 end
[/code/
I get the error mentioned in the subject line.
beg_prin_bal and interest are decimal(12,2) and net_rate is decimal(10,8).
the part of the code that reads
[code]
(interest * 12/beg_prin_bal)
yields a value like .06124984, I want it to return 6.12500000
Thanks for the help