Class Dec2Oct
Converts a decimal integer to its octal representation, optionally padding to a specified number of characters, with support for signed 30-bit values.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class Dec2Oct : NumbersInFunction
Constructors
Dec2Oct()
Initializes a new DEC2OCT function instance for decimal to octal conversion.
Declaration
public Dec2Oct()
Fields
FunctionName
The name of the function.
Declaration
public static readonly string FunctionName
Field Value
|
System.String
|
Properties
ArgumentConversionRules
Rules governing how argument values are interpreted and converted during function evaluation.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
|
ArgumentConversionRules
The argument conversion rules as ArgumentConversionRules. |
Overrides
FunctionInfo
Metadata describing the function signature, category, and argument requirements.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
|
FunctionInfo
The function info as FunctionInfo. |
Overrides
Name
The function name "DEC2OCT" used in formulas.
Declaration
public override string Name { get; }
Property Value
|
System.String
The name as String. |
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<Double>)
Evaluates the decimal to octal conversion and returns the octal string result or an error expression if the number or places value is invalid.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
|
FunctionEvaluationContext<System.Double>
context
The context. |
Returns
|
RadExpression
Functions result as RadExpression. |