Class 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.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class Convert : FunctionWithArguments
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.
Declaration
public static readonly string FunctionName
Field Value
|
System.String
|
Properties
ArgumentConversionRules
Rules governing how argument values are interpreted and converted during function evaluation.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
|
ArgumentConversionRules
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
|
FunctionInfo
The function info as FunctionInfo. |
Overrides
Name
The function name "CONVERT" used in formulas.
Declaration
public override string Name { get; }
Property Value
|
System.String
The name as String. |
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
|
FunctionEvaluationContext<System.Object>
context
The context. |
Returns
|
RadExpression
Functions result as RadExpression. |