| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static double | Returns: double representing future principal value.- periodic interest rate represented as a decimal. r, int - number of total payments / periods. nper, double - periodic payment amount. pmt, double - present value -- borrowed or invested principal. pv, int - when payment is made: beginning of period is 1; end, 0. type)Emulates Excel/Calc's FV(interest_rate, number_payments, payment, PV, Type) function, which calculates future value or principal at period N. |
| public static double | |
| public static double | Returns: double representing interest portion of payment.- periodic interest rate represented as a decimal. r, int - period (payment number) to check value at. per, int - number of total payments / periods. nper, double - present value -- borrowed or invested principal. pv, double - future value of loan or annuity. fv, int - when payment is made: beginning of period is 1; end, 0. type)Emulates Excel/Calc's IPMT(interest_rate, period, number_payments, PV, FV, Type) function, which calculates the portion of the payment at a given period that is the interest on previous balance. |
| public static double | |
| public static double | |
| public static double | Returns: double representing periodic payment amount.- periodic interest rate represented as a decimal. r, int - number of total payments / periods. nper, double - present value -- borrowed or invested principal. pv, double - future value of loan or annuity. fv, int - when payment is made: beginning of period is 1; end, 0. type)Emulates Excel/Calc's PMT(interest_rate, number_payments, PV, FV, Type) function, which calculates the payments for a loan or the future value of an investment |
| public static double | pmt(double r, int nper, double pv, double fv)
Overloaded pmt() call omitting type, which defaults to 0. |
| public static double | pmt(double r, int nper, double pv)
Overloaded pmt() call omitting fv and type, which both default to 0. |
| public static double | Returns: double representing principal portion of payment.- periodic interest rate represented as a decimal. r, int - period (payment number) to check value at. per, int - number of total payments / periods. nper, double - present value -- borrowed or invested principal. pv, double - future value of loan or annuity. fv, int - when payment is made: beginning of period is 1; end, 0. type)Emulates Excel/Calc's PPMT(interest_rate, period, number_payments, PV, FV, Type) function, which calculates the portion of the payment at a given period that will apply to principal. |
| public static double | |
| public static double |
| Finance | back to summary |
|---|---|
| public Finance() | |
| fv | back to summary |
|---|---|
| public static double fv(double r, int nper, double pmt, double pv, int type) Emulates Excel/Calc's FV(interest_rate, number_payments, payment, PV, Type) function, which calculates future value or principal at period N.
| |
| fv | back to summary |
|---|---|
| public static double fv(double r, int nper, double c, double pv) Overloaded fv() call omitting type, which defaults to 0.
| |
| ipmt | back to summary |
|---|---|
| public static double ipmt(double r, int per, int nper, double pv, double fv, int type) Emulates Excel/Calc's IPMT(interest_rate, period, number_payments, PV, FV, Type) function, which calculates the portion of the payment at a given period that is the interest on previous balance.
| |
| ipmt | back to summary |
|---|---|
| public static double ipmt(double r, int per, int nper, double pv, double fv) | |
| ipmt | back to summary |
|---|---|
| public static double ipmt(double r, int per, int nper, double pv) | |
| pmt | back to summary |
|---|---|
| public static double pmt(double r, int nper, double pv, double fv, int type) Emulates Excel/Calc's PMT(interest_rate, number_payments, PV, FV, Type) function, which calculates the payments for a loan or the future value of an investment
| |
| pmt | back to summary |
|---|---|
| public static double pmt(double r, int nper, double pv, double fv) Overloaded pmt() call omitting type, which defaults to 0. | |
| pmt | back to summary |
|---|---|
| public static double pmt(double r, int nper, double pv) Overloaded pmt() call omitting fv and type, which both default to 0. | |
| ppmt | back to summary |
|---|---|
| public static double ppmt(double r, int per, int nper, double pv, double fv, int type) Emulates Excel/Calc's PPMT(interest_rate, period, number_payments, PV, FV, Type) function, which calculates the portion of the payment at a given period that will apply to principal.
| |
| ppmt | back to summary |
|---|---|
| public static double ppmt(double r, int per, int nper, double pv, double fv) | |
| ppmt | back to summary |
|---|---|
| public static double ppmt(double r, int per, int nper, double pv) | |