Calculates the future value of an investment.
function FutureValue(const Rate: Extended; NPeriods: Integer; const Payment: Extended; const PresentValue: Extended; PaymentTime: TPaymentTime): Extended;
Extended FutureValue(const Extended Rate, int NPeriods, const Extended Payment, const Extended PresentValue, TPaymentTime PaymentTime);
FutureValue returns the future value of an investment of PresentValue where Payment is invested for NPeriods at the rate of Rate per period. The PaymentTime parameter indicates whether the investment is an ordinary annuity or an annuity due (enter ptEndOfPeriod if payments are at the end of each period, ptStartOfPeriod if they are at the beginning).
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|