This documentation is archived and is not being maintained.
cTerm Function
Calculates the number of periods required for the current investment value to yield a target value.
real cTerm(
real interest,
real future_value,
real current_value)
|
Parameter
|
Description
|
|
interest
|
The interest rate.
|
|
future_value
|
The target value.
|
|
current_value
|
The current investment value.
|
The number of periods required to reach future_value.
The current_value and future_value parameters must have the same prefixed sign (plus or minus).
static void cTermExample(Args _arg)
{
real r;
;
r = cTerm(10.0, 500.00, 100.00);
print "The cTerm is " + num2Str(r, 2, 2, 1, 1);
pause;
}