ClassNpv
Calculates the net present value of an investment using a discount rate and a series of future cash flows.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Npv : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionNpv
Inherited Members
Constructors
Npv()
Initializes a new NPV function instance for calculating net present value from discounted cash flows.
Declaration
public Npv()
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 net present value using the discount rate and 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