New to Telerik Document ProcessingStart a free 30-day trial

Calculates the price per $100 face value of a discounted security that does not pay periodic interest.

Definition

Constructors

Initializes a new PRICEDISC function instance for valuing zero-coupon or discount securities.

C#
public PriceDisc()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the discounted security price using settlement, maturity, discount rate, redemption value, and optional basis, returning the result or an error expression.

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

Properties

Controls how arguments are converted before evaluation, excluding boolean conversions.

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

The argument conversion rules as ArgumentConversionRules.

Overrides: NumbersInFunction.ArgumentConversionRules

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

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

The function name used in formulas.

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

The name as String.

Overrides: FunctionBase.Name