Returns the number of payment periods for an investment.
function NumberOfPeriods(const Rate: Extended; Payment: Extended; const PresentValue: Extended; const FutureValue: Extended; PaymentTime: TPaymentTime): Extended;
Extended NumberOfPeriods(const Extended Rate, Extended Payment, const Extended PresentValue, const Extended FutureValue, TPaymentTime PaymentTime);
NumberOfPeriods computes the number of payment periods required for an investment of PresentValue to reach a value of FutureValue, while making regular payments of Payment and accruing interest at the rate of Rate per compounding period. PaymentTime 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!
|