FVC Function
Calculates the future value of a list of cash flows earning a specified rate of interest. It assumes that the payment is made at the end of the period, and that periods are of equal length. If the payment is made at the beginning, multiply the result by (1 + i).
This function has the following syntax:
FVC(i = value, list = array)
This function returns:
• Float—The future value of periodic cash flows
• Null—On error
Example—FVC function:
/* Compute the future value of periodic cash flows of
** $123, $145, and $134 earning 7% per period.
*/
declare
cashflow = array of FloatObject;
xfvc = Float;
enddeclare
begin
cashflow[1].value = 123;
cashflow[2].value = 145;
cashflow[3].value = 134;
xfv = fvc(i = .07, list = cashflow);
end
Last modified date: 12/20/2023