Dec2Bin
Converts a decimal integer to its binary representation, optionally padding to a specified number of characters, with support for signed 10-bit values.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Dec2Bin : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionDec2Bin...
Inherited Members
Constructors
Initializes a new DEC2BIN function instance for decimal to binary conversion.
public Dec2Bin()
Fields
The name of the function.
public static readonly string FunctionName
Methods
Evaluates the decimal to binary conversion and returns the binary string result or an error expression if the number or places value is invalid.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides:
Properties
Rules governing how argument values are interpreted and converted during function evaluation.
public override ArgumentConversionRules ArgumentConversionRules { get; }
The argument conversion rules as ArgumentConversionRules.
Overrides:
Metadata describing the function signature, category, and argument requirements.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides: