Debarati Debarati - 3 months ago 78
Java Question

Excel PMT function in Java

I want to implement PMT function (from Excel) in Java. The formula of the PMT function is:



  • D7 = Finance Amount

  • D9 = Rate

  • D11 = Term

For example

D7 = $1,00,000,
D9 = 10%,
D11 = 36

Here the output of PMT function i.e. monthly payment will be

Please anyone help me to calculate this function value in Java.


assuming all variable of double type: