Class
Ppmt

Calculates the principal portion of a loan payment for a specific period with constant payments and a constant interest rate.

Definition

Constructors

Ppmt()

Initializes a new PPMT function instance for calculating the principal payment component of a specific period.

Declaration

cs-api-definition
public Ppmt()

Fields

FunctionName

The name of the function.

Declaration

cs-api-definition
public static readonly string FunctionName

Field Value

string

Properties

FunctionInfo

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

Declaration

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

Property Value

FunctionInfo

The function info as FunctionInfo.

Overrides FunctionBase.FunctionInfo

Name

The function name used in formulas.

Declaration

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

Property Value

string

The name as String.

Overrides FunctionBase.Name

Methods

EvaluateOverride(FunctionEvaluationContext<double>)

Evaluates the principal payment using rate, period, number of periods, present value, and optional future value and payment type, returning the result or an error expression.

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