Free Bankrate Mortgage Calculator

Free Bankrate Mortgage Calculator

Use this free Bankrate mortgage calculator to estimate your monthly payments based on your loan amount, interest rate, and loan term.

function calculateMortgage(){ const loanAmount = parseFloat(document.getElementById(“loanAmount”).value); const interestRate = parseFloat(document.getElementById(“interestRate”).value) / 100 / 12; const loanTerm = parseInt(document.getElementById(“loanTerm”).value) * 12; if(isNaN(loanAmount) || isNaN(interestRate) || isNaN(loanTerm) || loanAmount <= 0 || interestRate <= 0 || loanTerm el.value = “”); }

Leave a Reply

Your email address will not be published. Required fields are marked *