ClassDec2Hex
Converts a decimal integer to its hexadecimal representation, optionally padding to a specified number of characters, with support for signed 40-bit values.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Dec2Hex : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionDec2Hex
Inherited Members
Constructors
Dec2Hex()
Initializes a new DEC2HEX function instance for decimal to hexadecimal conversion.
Declaration
public Dec2Hex()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Rules governing how argument values are interpreted and converted during function evaluation.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
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
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the decimal to hexadecimal conversion and returns the hexadecimal string result or an error expression if the number or places value is invalid.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides