System.Math.PresentValue

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

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

Properties

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

Description

Calculates the present value of an investment.

PresentValue calculates the present value of an investment where Payment is received for NPeriods and is discounted at the rate of Rate per period. FutureValue is the value the investment may reach at some point. PaymentTime indicates whether the cash flows occur at the beginning or end of the period.

See Also