YieldDisc
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
Initializes a new YIELDDISC function instance for calculating annual yield on discounted securities without periodic interest payments.
public YieldDisc()
Fields
The name of the function.
public static readonly string FunctionName
Methods
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.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides:
Properties
Specifies the conversion rules applied to function arguments, excluding boolean-to-number conversions for financial calculations.
public override ArgumentConversionRules ArgumentConversionRules { get; }
The argument conversion rules as ArgumentConversionRules.
Overrides:
Provides metadata describing the function's category, arguments, and help documentation.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides: