It is necessary to calculate the payment amount according to the formula: (Loan amount * interest rate * number of months + loan amount)
I use this code
$("#summa").text(Math.round($("#hidden").val() * $("#hidden2").val() * q + $("#hidden").val())); but the + operator doesn’t matter, it doesn’t add a value, and it adds a number to the resulting number. those. works like a 'number' + 'second number'