ClassYieldDisc
Implements the YIELDDISC financial function, which calculates the annual yield for a discounted security that does not pay periodic interest.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class YieldDisc : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionYieldDisc
Inherited Members
Constructors
YieldDisc()
Initializes a new YIELDDISC function instance for calculating annual yield on discounted securities without periodic interest payments.
Declaration
public YieldDisc()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Specifies the conversion rules applied to function arguments, excluding boolean-to-number conversions for financial calculations.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules as ArgumentConversionRules.
Overrides
FunctionInfo
Provides metadata describing the function's category, arguments, and help documentation.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the YIELDDISC function using the provided settlement date, maturity, price, redemption value, and optional basis, returning the annual yield as a numeric expression or an error.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides