Returns the interest rate required to increase PresentValue to FutureValue.
function InterestRate(NPeriods: Integer; const Payment: Extended; const PresentValue: Extended; const FutureValue: Extended; PaymentTime: TPaymentTime): Extended;
Extended InterestRate(int NPeriods, const Extended Payment, const Extended PresentValue, const Extended FutureValue, TPaymentTime PaymentTime);
InterestRate calculates the interest rate required in order for an investment of PresentValue, with periodic payments of Payment, to be worth FutureValue within NPeriods compounding periods. If NPeriods represents years, an annual interest rate results; if NPeriods represents months, a monthly interest rate results, and so on. The PaymentTime parameter indicates whether the cash flows occur at the beginning or end of the period.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|