What do you mean by a 'formatException'? Is this a compilation error or runtime error? What line is there error on? As a side note, placing your code between two 'code' tags really help us be able to...
Type: Posts; User: copeg
What do you mean by a 'formatException'? Is this a compilation error or runtime error? What line is there error on? As a side note, placing your code between two 'code' tags really help us be able to...
double monthlyPay =(mIR*moneyBorrowed)/(1-(1/Math.pow((1+mIR),(12*timeYears))));
If mIR is zero, which you define as being zero, the equation boils down to :...