System.Math.FutureValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FutureValue(const Rate: Extended; NPeriods: Integer; const Payment, PresentValue: Extended; PaymentTime: TPaymentTime): Extended;

C++

extern DELPHI_PACKAGE System::Extended __fastcall FutureValue(const System::Extended Rate, int NPeriods, const System::Extended Payment, const System::Extended PresentValue, TPaymentTime PaymentTime);

Properties

Type Visibility Source Unit Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Calculates the future value of an investment.

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).

See Also