|
Formula 1.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objecthirondelle.formula.function.builtin.LoanPayment
public final class LoanPayment
pmt(principal,interest,months): monthly payment needed to pay back a loan or mortgage.
| Constructor Summary | |
|---|---|
LoanPayment()
|
|
| Method Summary | |
|---|---|
Decimal |
calculate(Decimal... aArgs)
Monthly payment. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoanPayment()
| Method Detail |
|---|
public Decimal calculate(Decimal... aArgs)
This method takes 3 parameters, in this order:
Example: this loan of 100 has an annual interest rate of 5%, and is paid back over 2 years (24 months):
Then
pmt(100, 0.05, 24) = 4.38713897340684378120
calculate in interface FunctionaArgs - 0 or more arguments to the function.
|
Formula 1.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||