Skip to content

InterestRate

Calculate the interest rate value of an investment

Declaration

Source position: math.pp line 614

  function InterestRate(NPeriods: Integer; APayment: Float; 
                       APresentValue: Float; AFutureValue: Float; 
                       APaymentTime: TPaymentTime) : Float;

Description

InterestRate calculates the future value of an investment (q) in the cash flow formula (see CashFlowFunctions ). The function result is the interest rate value in case of a future value AFutureValue for an investment of a start value APresentValue (PV), where APayment (PMT) is invested for NPeriods (n).

The APaymentTime parameter determines whether the investment (payment) is an ordinary annuity or an annuity due: ptEndOfPeriod must be used if payments are at the end of each period. If the payments are at the beginning of the periode, ptStartOfPeriod must be used.

See also

Name Description
CashFlowFunctions Cash flow functions
FutureValue Calculate the future value of an investment.
NumberOfPeriods Calculate the number of periods for an investment
Payment Calculate the payment for an investment
PresentValue Calculate the present value given the future value of an investment.
TPaymentTime Type used in financial (interest) calculations.