New to Telerik Document ProcessingStart a free 30-day trial

Hex2Dec

Class

Converts a hexadecimal number to decimal representation.

Definition

Constructors

Initializes a new Hex2Dec function instance for hexadecimal to decimal conversion.

C#
public Hex2Dec()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the function with the provided arguments and returns the decimal value as a number expression.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<string> context)
Parameters:contextFunctionEvaluationContext<string>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<string>.EvaluateOverride(FunctionEvaluationContext<string>)

Properties

Gets the argument conversion rules that control how cell values are coerced for this function.

C#
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value:

The argument conversion rules as ArgumentConversionRules.

Overrides: StringsInFunction.ArgumentConversionRules

Gets metadata describing the function's signature, parameters, and localization keys.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the function name used in formula expressions.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name