Sign in Join
FPDoc Onlineexperiment

CashFlowFunctions topic

In unit Math

Cash flow functions.

Declaration

pascal
CashFlowFunctions

Description

The cash flow functions in the math unit resolve the following equation:

FV + PV * q^n + PMT (q^n - 1) / (q - 1) = 0

In this formula, the following variables are present:

FV
Future value
PV
Present value
PMT
Payment per period
n
Number of payments (number of periods)
q>
Interest Rate (return rate)

The financial functions FutureValue, NumberOfPeriods, Payment, PresentValue and InterestRate solve this equation for one of the variables, when the other variables are known.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.