Class YieldDisc
Implements the YIELDDISC financial function, which calculates the annual yield for a discounted security that does not pay periodic interest.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class YieldDisc : NumbersInFunction
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.
Declaration
public static readonly string FunctionName
Field Value
|
System.String
|
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
|
ArgumentConversionRules
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
|
FunctionInfo
The function info as FunctionInfo. |
Overrides
Name
Returns the function name "YIELDDISC" used in formulas.
Declaration
public override string Name { get; }
Property Value
|
System.String
The name as String. |
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
|
FunctionEvaluationContext<System.Double>
context
The context. |
Returns
|
RadExpression
Functions result as RadExpression. |