I am receiving the error
Arithmetic overflow error converting expression to data type float
on the following code:
SELECT b.[CUSIP NUMBER],
b.[PASS THRU RATE],
a.[CURRENT BALANCE],
b.[ORIGINAL WA MATURITY],
b.[CURRENT WA MATURITY],
(b.[ORIGINAL BALANCE] * ((b.[PASS THRU RATE]*.01)/12))/ (1-((1 + power (( (b.[PASS THRU RATE]*.01 )/ 12), -b.[ORIGINAL WA MATURITY] ) )))
FROM DBO.mbs012013 a, DBO.mbs022013 b
WHERE a.[CUSIP NUMBER] = b.[CUSIP NUMBER]
I have not designated the numbers to be any specific type so I am not sure why I am receiving this error. If any one can tell me how to fix this it would greatly appreciated.
For reference: cusip number is a serial number, the rest are inputs (interest rate, bank balance, maturity in months, etc.)