FvSchedule(Principal: Double; Schedule: Array): Double;
Parameters | Description | Constraints |
Principal | Current investments value. | |
Schedule | Array of interest rates variables. | It is required to use an array of the Double type. |
The FvSchedule method returns future value of the capital amount after applying a set of complex interest rates.
To get future investment value at condition of regular equal payments and constant interest rate, use the IFinance.Fv method.
To execute the example, add a link to the MathFin system assembly.
Sub UserProc;
Var
r: Double;
Arr: Array[3] Of Double;
Begin
Arr[0] := 0.01;
Arr[1] := 0.15;
Arr[2] := 0.25;
r := Finance.FvSchedule(800, Arr);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the future value of original main sum equal to 1161.5.
See also: