I’m confused

Change UI Element valaue

Good Day.
I have screen where the user will input data financial data and on clicking the 'Calculate' button needs to calculate the 'installment' and show in 'Result' field.
Here is the code that is not working....

Can you please help.

var princ = Appery("loan").value();
var term = Appery("months").value();
var intr =Appery("rate").value() / 1200;
var getval = Appery("pay").text();
var payment = princ * intr / (1 - (Math.pow(1/(1 + intr), term)));
1 person has
this question
This topic is no longer open for comments or replies.