RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.Payment Function

Calculates a fully amortized payment.

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

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!