Math.InterestRate

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Math.pas

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


Unit: Math

Type: function

Visibility: public

C++ Information

From Math.hpp

	long double __fastcall InterestRate(int NPeriods,
		long double Payment,
		long double PresentValue,
		long double FutureValue,
		Math::TPaymentTime PaymentTime);


Unit: Math

Type: function

Description

Returns the interest rate required to increase PresentValue to FutureValue.


InterestRate calculates the interest rate required in order for an investment of PresentValue, with periodic payments of Payment, to be worth FutureValue within NPeriods compounding periods. If NPeriods represents years, an annual interest rate results; if NPeriods represents months, a monthly interest rate results, and so on. The PaymentTime parameter indicates whether the cash flows occur at the beginning or end of the period.

See Also

Personal tools
Translations
Newest Version