New to Telerik Document ProcessingStart a free 30-day trial

Calculates the number of periods required for an investment to reach a target future value at a constant interest rate.

Definition

Constructors

Initializes a new PDURATION function instance for calculating investment growth periods.

C#
public PDuration()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the number of periods using rate, present value, and future value arguments, returning the result or an error expression.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters:contextFunctionEvaluationContext<double>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<double>.EvaluateOverride(FunctionEvaluationContext<double>)

Properties

Metadata describing this function's signature, category, and arguments.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

The function name used in formulas.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name