Click or drag to resize
ExpressionExtensionsNumberValue Method
Gets the NumberValue of a RadExpression.

Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2017.3.1010.40 (2017.3.1010.40)
Syntax
public static double NumberValue(
	this RadExpression expression
)

Parameters

expression
Type: Telerik.Windows.Documents.Spreadsheet.ExpressionsRadExpression
The expression.

Return Value

Type: Double
The number value as double. If the expression is not NumberExpression returns 0.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RadExpression. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also