System.Math.Payment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE System::Extended __fastcall Payment(System::Extended Rate, int NPeriods, const System::Extended PresentValue, 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 a fully amortized payment.

Payment calculates the fully amortized payment of borrowing PresentValue at Rate percent per period over NPeriods. It assumes that interest is paid at the end of each period.

FutureValue is the value that the investment will reach at some point. PaymentTime indicates whether the cash flows occur at the beginning or end of the period.

See Also