Consts
Overview
Math and related constants.
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
E
Returns the 'e' value, the base of natural logarithms.
const E: Double = 2,71828182845905;
const Double E = 2,71828182845905
static let E: Double = 2,71828182845905
static final Double E = 2,71828182845905
Dim E As Double = 2,71828182845905
FalseString
"False' as a string
class property FalseString: not nullable String read;
class String! FalseString { get; }
static var FalseString: String { get{} }
class String FalseString { __get; }
Shared ReadOnly Property FalseString() As String
IsInfinity
Returns true if a double is negative or positive infinity.
Parameters:
- Value:
IsNaN
Returns true if a double is NaN.
Parameters:
- Value:
IsNegativeInfinity
Returns true if a double is negative infinity.
Parameters:
- Value:
IsPositiveInfinity
Returns true if a double is positive infinity.
Parameters:
- Value:
MaxByte
Returns the maximum value a byte can contain.
const MaxByte: Byte = 255;
const Byte MaxByte = 255
static let MaxByte: Byte = 255
static final Byte MaxByte = 255
Dim MaxByte As Byte = 255
MaxChar
Returns the maximum value a char can contain.
const MaxChar: Char = #65535;
const Char MaxChar = (char)65535
static let MaxChar: Char = \u{FFFF}
static final Char MaxChar = \uFFFF
Dim MaxChar As Char = CChar(65535)
MaxDouble
Returns the maximum value a double can contain.
class property MaxDouble: Double read;
class Double MaxDouble { get; }
static var MaxDouble: Double { get{} }
class Double MaxDouble { __get; }
Shared ReadOnly Property MaxDouble() As Double
MaxInt32
Returns the maximum value an int32 can contain.
const MaxInt32: Int32 = 2147483647;
const Int32 MaxInt32 = 2147483647
static let MaxInt32: Int32 = 2147483647
static final Integer MaxInt32 = 2147483647
Dim MaxInt32 As Int32 = 2147483647
MaxInt64
Returns the maximum value an int64 can contain.
const MaxInt64: Int64 = 9223372036854775807;
const Int64 MaxInt64 = 9223372036854775807
static let MaxInt64: Int64 = 9223372036854775807
static final Int64 MaxInt64 = 9223372036854775807
Dim MaxInt64 As Int64 = 9223372036854775807
MinByte
Returns the minimum value a byte can contain.
const MinByte: Byte = 0;
const Byte MinByte = 0
static let MinByte: Byte = 0
static final Byte MinByte = 0
Dim MinByte As Byte = 0
MinChar
Returns the minimum value a char can contain.
const MinChar: Char = #0;
const Char MinChar = (char)0
static let MinChar: Char = \u{0000}
static final Char MinChar = \u0000
Dim MinChar As Char = CChar(0)
MinDouble
Returns the minimum value a double can contain.
class property MinDouble: Double read;
class Double MinDouble { get; }
static var MinDouble: Double { get{} }
class Double MinDouble { __get; }
Shared ReadOnly Property MinDouble() As Double
MinInt32
Returns the minimum value an int32 can contain.
const MinInt32: Int32 = -2147483648;
const Int32 MinInt32 = -2147483648
static let MinInt32: Int32 = -2147483648
static final Integer MinInt32 = -2147483648
Dim MinInt32 As Int32 = -2147483648
MinInt64
Returns the maximum value an int64 can contain.
const MinInt64: Int64 = -9223372036854775808;
const Int64 MinInt64 = -9223372036854775808
static let MinInt64: Int64 = -9223372036854775808
static final Int64 MinInt64 = -9223372036854775808
Dim MinInt64 As Int64 = -9223372036854775808
NaN
Returns the NaN value.
class property NaN: Double read;
class Double NaN { get; }
static var NaN: Double { get{} }
class Double NaN { __get; }
Shared ReadOnly Property NaN() As Double
NegativeInfinity
Returns negative infinity.
class property NegativeInfinity: Double read;
class Double NegativeInfinity { get; }
static var NegativeInfinity: Double { get{} }
class Double NegativeInfinity { __get; }
Shared ReadOnly Property NegativeInfinity() As Double
PI
Returns PI ~ 3.14.
const PI: Double = 3,14159265358979;
const Double PI = 3,14159265358979
static let PI: Double = 3,14159265358979
static final Double PI = 3,14159265358979
Dim PI As Double = 3,14159265358979
PositiveInfinity
Returns positive infinity.
class property PositiveInfinity: Double read;
class Double PositiveInfinity { get; }
static var PositiveInfinity: Double { get{} }
class Double PositiveInfinity { __get; }
Shared ReadOnly Property PositiveInfinity() As Double
TrueString
Returns "True" as a string.
class property TrueString: not nullable String read;
class String! TrueString { get; }
static var TrueString: String { get{} }
class String TrueString { __get; }
Shared ReadOnly Property TrueString() As String
π
Alias for PI.
E
Returns the 'e' value, the base of natural logarithms.
const E: Double = 2,71828182845905;
const Double E = 2,71828182845905
static let E: Double = 2,71828182845905
static final Double E = 2,71828182845905
Dim E As Double = 2,71828182845905
MaxByte
Returns the maximum value a byte can contain.
const MaxByte: Byte = 255;
const Byte MaxByte = 255
static let MaxByte: Byte = 255
static final Byte MaxByte = 255
Dim MaxByte As Byte = 255
MaxChar
Returns the maximum value a char can contain.
const MaxChar: Char = #65535;
const Char MaxChar = (char)65535
static let MaxChar: Char = \u{FFFF}
static final Char MaxChar = \uFFFF
Dim MaxChar As Char = CChar(65535)
MaxInt32
Returns the maximum value an int32 can contain.
const MaxInt32: Int32 = 2147483647;
const Int32 MaxInt32 = 2147483647
static let MaxInt32: Int32 = 2147483647
static final Integer MaxInt32 = 2147483647
Dim MaxInt32 As Int32 = 2147483647
MaxInt64
Returns the maximum value an int64 can contain.
const MaxInt64: Int64 = 9223372036854775807;
const Int64 MaxInt64 = 9223372036854775807
static let MaxInt64: Int64 = 9223372036854775807
static final Int64 MaxInt64 = 9223372036854775807
Dim MaxInt64 As Int64 = 9223372036854775807
MinByte
Returns the minimum value a byte can contain.
const MinByte: Byte = 0;
const Byte MinByte = 0
static let MinByte: Byte = 0
static final Byte MinByte = 0
Dim MinByte As Byte = 0
MinChar
Returns the minimum value a char can contain.
const MinChar: Char = #0;
const Char MinChar = (char)0
static let MinChar: Char = \u{0000}
static final Char MinChar = \u0000
Dim MinChar As Char = CChar(0)
MinInt32
Returns the minimum value an int32 can contain.
const MinInt32: Int32 = -2147483648;
const Int32 MinInt32 = -2147483648
static let MinInt32: Int32 = -2147483648
static final Integer MinInt32 = -2147483648
Dim MinInt32 As Int32 = -2147483648
MinInt64
Returns the maximum value an int64 can contain.
const MinInt64: Int64 = -9223372036854775808;
const Int64 MinInt64 = -9223372036854775808
static let MinInt64: Int64 = -9223372036854775808
static final Int64 MinInt64 = -9223372036854775808
Dim MinInt64 As Int64 = -9223372036854775808
PI
Returns PI ~ 3.14.
const PI: Double = 3,14159265358979;
const Double PI = 3,14159265358979
static let PI: Double = 3,14159265358979
static final Double PI = 3,14159265358979
Dim PI As Double = 3,14159265358979
π
Alias for PI.
FalseString
"False' as a string
class property FalseString: not nullable String read;
class String! FalseString { get; }
static var FalseString: String { get{} }
class String FalseString { __get; }
Shared ReadOnly Property FalseString() As String
MaxDouble
Returns the maximum value a double can contain.
class property MaxDouble: Double read;
class Double MaxDouble { get; }
static var MaxDouble: Double { get{} }
class Double MaxDouble { __get; }
Shared ReadOnly Property MaxDouble() As Double
MinDouble
Returns the minimum value a double can contain.
class property MinDouble: Double read;
class Double MinDouble { get; }
static var MinDouble: Double { get{} }
class Double MinDouble { __get; }
Shared ReadOnly Property MinDouble() As Double
NaN
Returns the NaN value.
class property NaN: Double read;
class Double NaN { get; }
static var NaN: Double { get{} }
class Double NaN { __get; }
Shared ReadOnly Property NaN() As Double
NegativeInfinity
Returns negative infinity.
class property NegativeInfinity: Double read;
class Double NegativeInfinity { get; }
static var NegativeInfinity: Double { get{} }
class Double NegativeInfinity { __get; }
Shared ReadOnly Property NegativeInfinity() As Double
PositiveInfinity
Returns positive infinity.
class property PositiveInfinity: Double read;
class Double PositiveInfinity { get; }
static var PositiveInfinity: Double { get{} }
class Double PositiveInfinity { __get; }
Shared ReadOnly Property PositiveInfinity() As Double
TrueString
Returns "True" as a string.
IsInfinity
Returns true if a double is negative or positive infinity.
Parameters:
- Value:
IsNaN
Returns true if a double is NaN.
Parameters:
- Value:
IsNegativeInfinity
Returns true if a double is negative infinity.
Parameters:
- Value:
IsPositiveInfinity
Returns true if a double is positive infinity.
Parameters:
- Value: