Double
Overview
Double precision floating point type.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Ancestry: ValueType | Double
constructor protected (declared in ValueType)
constructor
Double()
init()
Double()
Sub New()
Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.
Parameters:
- a:
Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.
Parameters:
- a:
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Returns true if the target object matches this one, by default compares the reference.
Parameters:
- obj:
Compares this value to another value; returns true if equal.
Parameters:
- other:
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode override virtual
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
IsInfinity
Returns true if the value is positive or negative infinity.
Parameters:
- Value:
IsNaN
Returns true if the value is NaN.
Parameters:
- Value:
IsNegativeInfinity
Returns true if the value is negative infinity.
Parameters:
- Value:
IsPositiveInfinity
Returns true if the value is positive infinity.
Parameters:
- Value:
MaxValue
class property MaxValue: Double read;
class Double MaxValue { get; }
static var MaxValue: Double { get{} }
class Double MaxValue { __get; }
Shared ReadOnly Property MaxValue() As Double
MinValue
class property MinValue: Double read;
class Double MinValue { get; }
static var MinValue: Double { get{} }
class Double MinValue { __get; }
Shared ReadOnly Property MinValue() As Double
NaN
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
class property NegativeInfinity: Double read;
class Double NegativeInfinity { get; }
static var NegativeInfinity: Double { get{} }
class Double NegativeInfinity { __get; }
Shared ReadOnly Property NegativeInfinity() As Double
Parses a string to a double.
Parameters:
- s:
Parses a string to a double in a given locale.
Parameters:
- s:
- aLocale:
PositiveInfinity
class property PositiveInfinity: Double read;
class Double PositiveInfinity { get; }
static var PositiveInfinity: Double { get{} }
class Double PositiveInfinity { __get; }
Shared ReadOnly Property PositiveInfinity() As Double
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
ToString override virtual
Converts a double to a string.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Converts a double to a string in a given locale.
Parameters:
- aLocale:
Converts a double to a string with a given number of digits.
Parameters:
- aNumberOfDecimalDigits:
Converts a double to a string in a given locale with a given number of digits.
Parameters:
- aNumberOfDecimalDigits:
- aLocale:
Try to parse a double, returns true if succesful.
Parameters:
- s:
- aLocale:
- Value:
Try to parse a double, returns true if succesful.
Parameters:
- s:
- Value:
MaxValue
class property MaxValue: Double read;
class Double MaxValue { get; }
static var MaxValue: Double { get{} }
class Double MaxValue { __get; }
Shared ReadOnly Property MaxValue() As Double
MinValue
class property MinValue: Double read;
class Double MinValue { get; }
static var MinValue: Double { get{} }
class Double MinValue { __get; }
Shared ReadOnly Property MinValue() As Double
NaN
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
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
IsInfinity
Returns true if the value is positive or negative infinity.
Parameters:
- Value:
IsNaN
Returns true if the value is NaN.
Parameters:
- Value:
IsNegativeInfinity
Returns true if the value is negative infinity.
Parameters:
- Value:
IsPositiveInfinity
Returns true if the value is positive infinity.
Parameters:
- Value:
Parses a string to a double.
Parameters:
- s:
Parses a string to a double in a given locale.
Parameters:
- s:
- aLocale:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Try to parse a double, returns true if succesful.
Parameters:
- s:
- aLocale:
- Value:
Try to parse a double, returns true if succesful.
Parameters:
- s:
- Value:
constructor protected (declared in ValueType)
constructor
Double()
init()
Double()
Sub New()
Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.
Parameters:
- a:
Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.
Parameters:
- a:
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Returns true if the target object matches this one, by default compares the reference.
Parameters:
- obj:
Compares this value to another value; returns true if equal.
Parameters:
- other:
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode override virtual
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ToString override virtual
Converts a double to a string.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Converts a double to a string in a given locale.
Parameters:
- aLocale:
Converts a double to a string with a given number of digits.
Parameters:
- aNumberOfDecimalDigits:
Converts a double to a string in a given locale with a given number of digits.
Parameters:
- aNumberOfDecimalDigits:
- aLocale: