Subscriber portal
Calculates the number of periods over which an investment must run.
real term( real amount, real interest, real future_value)
Parameter
Description
amount
The amount of the periodic investment.
interest
The interest rate for each period.
future_value
The future value that is anticipated for the investment
The number of periods the investment must run for.
static void termExample(Args _args) { print term(400,0.08,5000); //returns the value '9.01'. print term(100,0.14,3000); //returns the value '12.58'. pause; }