ClassPDuration
Calculates the number of periods required for an investment to reach a target future value at a constant interest rate.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class PDuration : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionPDuration
Inherited Members
Constructors
PDuration()
Initializes a new PDURATION function instance for calculating investment growth periods.
Declaration
public PDuration()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Metadata describing this function's signature, category, and arguments.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the number of periods using rate, present value, and future value arguments, returning the result or an error expression.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides