ClassConvert
Converts a numeric value from one measurement system to another, supporting conversions between compatible unit types such as distance, weight, temperature, and other measurement categories.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Convert : FunctionWithArguments
Inheritance: objectFunctionBaseFunctionWithArgumentsConvert
Inherited Members
Constructors
Convert()
Initializes a new CONVERT function instance for converting numeric values between measurement systems.
Declaration
public Convert()
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<object>)
Evaluates the conversion function with the provided arguments and returns the converted numeric result or an error expression.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<object> context)
Parameters
context
FunctionEvaluationContext<object>
The context.
Returns
Functions result as RadExpression.
Overrides