New to Telerik Document Processing? Start a free 30-day trial

NPer

Class

Calculates the number of payment periods for an investment with periodic constant payments and a constant interest rate.

Definition

Constructors

Initializes a new NPER function instance for calculating the number of payment periods.

C#
public NPer()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Provides metadata including category, description, and argument definitions.

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Returns the function identifier "NPER".

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

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the function by computing the number of periods from rate, payment, present value, future value, and payment timing.

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>)