Convert
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
Initializes a new CONVERT function instance for converting numeric values between measurement systems.
public Convert()
Fields
The name of the function.
public static readonly string FunctionName
Methods
Evaluates the conversion function with the provided arguments and returns the converted numeric result or an error expression.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<object> 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: