cTerm Function [AX 2012]

Updated: September 30, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

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;
}

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: