Calculating Mortgage payment
For some reason I am getting an error when trying to run this Deluge script. Any help is appreciated. I am sure I am missing something!
if (input.Listing_price != null)
{
input.Monthly_Mortgage = input.Loan_Amount [(input.Annual_Interest_Rate/12)(1+(input.Annual_Interest_Rate/12)^(input.Length_of_Mortgage*12)/((1+(input.Annual_Interest_Rate/12))^(input.Length_of_Mortgage*12))-1)];
}
else
{
alert "Enter in Listing price to calculate mortgage information.";
}