ClassNumberExpression
Represents a constant numeric value in a formula expression; provides commonly used numeric constants and validation.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class NumberExpression : ConstantExpression<double>
Inheritance: objectRadExpressionConstantExpressionConstantExpression<double>NumberExpression
Inherited Members
Constructors
NumberExpression(double)
Initializes a new instance of the NumberExpression class with the specified numeric value, which must be a valid finite number.
Declaration
public NumberExpression(double value)
Parameters
value
The value.
Fields
E
A constant expression representing Euler's number (e), approximately 2.71828.
Declaration
public static readonly NumberExpression E
Field Value
One
A constant expression representing the numeric value one (1).
Declaration
public static readonly NumberExpression One
Field Value
PI
A constant expression representing pi (π), approximately 3.14159.
Declaration
public static readonly NumberExpression PI
Field Value
Zero
A constant expression representing the numeric value zero (0).
Declaration
public static readonly NumberExpression Zero
Field Value