Well that and I just realized I was diving by 0.. "(1-1 / math.pow(1 + rate, months));" So I fixed the coding in the math to
monthlypay1 = loanamount * rate / (Math.pow(1 + rate, months)) /...
Type: Posts; User: Ancharius
Well that and I just realized I was diving by 0.. "(1-1 / math.pow(1 + rate, months));" So I fixed the coding in the math to
monthlypay1 = loanamount * rate / (Math.pow(1 + rate, months)) /...
Ok I think the problem is I don't have the rate as a percentage. I've tried setting my month's to a different number but alas I get the same results.
But I thought I needed the months for the Math.pow(1 + rate, Insert another double here);
Hello I have a project for school and my teacher never did a great job at explaining how to do certain aspects of my code. I've done a lot of research on Java and how to get this to work but none...