Class NumberExpression
Represents a constant numeric value in a formula expression; provides commonly used numeric constants and validation.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class NumberExpression : ConstantExpression<double>, IPrecalculatedExpressionThreeNode
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
|
System.Double
value
The value. |
Fields
E
A constant expression representing Euler's number (e), approximately 2.71828.
Declaration
public static readonly NumberExpression E
Field Value
|
NumberExpression
|
One
A constant expression representing the numeric value one (1).
Declaration
public static readonly NumberExpression One
Field Value
|
NumberExpression
|
PI
A constant expression representing pi (π), approximately 3.14159.
Declaration
public static readonly NumberExpression PI
Field Value
|
NumberExpression
|
Zero
A constant expression representing the numeric value zero (0).
Declaration
public static readonly NumberExpression Zero
Field Value
|
NumberExpression
|
Properties
IntValue
Gets the numeric value cast to an integer, truncating any fractional part.
Declaration
public int IntValue { get; }
Property Value
|
System.Int32
The integer value. |