Class
Pv

Implements the PV financial function that calculates the present value of an investment based on periodic payments and interest rate.

Definition

Constructors

Pv()

Initializes a new PV function instance for calculating present value based on periodic payments, interest rate, and optional future value.

Declaration

cs-api-definition
public Pv()

Fields

FunctionName

Function name identifier for the PV function.

Declaration

cs-api-definition
public static readonly string FunctionName

Field Value

string

Properties

FunctionInfo

Metadata describing the function's signature, arguments, and return format for use by the expression evaluator.

Declaration

cs-api-definition
public override FunctionInfo FunctionInfo { get; }

Property Value

FunctionInfo

The function info as FunctionInfo.

Overrides FunctionBase.FunctionInfo

Name

Function name used for formula evaluation and display.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name as String.

Overrides FunctionBase.Name

Methods

EvaluateOverride(FunctionEvaluationContext<double>)

Virtual method evaluating the function with System.Object arguments array.

Declaration

cs-api-definition
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)

Parameters

context

FunctionEvaluationContext<double>

The context.

Returns

RadExpression

Functions result as RadExpression.

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