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.
method CompareTo(a: Double): Int32
Int32 CompareTo(Double a)
func CompareTo(_ a: Double) -> Int32
Int32 CompareTo(Double a)
Function CompareTo(a As Double) As Int32
Parameters:
- a:
Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.
method CompareTo(a: Object): Int32
Int32 CompareTo(Object a)
func CompareTo(_ a: Object) -> Int32
Int32 CompareTo(Object a)
Function CompareTo(a As Object) As Int32
Parameters:
- a:
Default constructor.
method Equals(aOther: Object): Boolean
Boolean Equals(Object aOther)
func Equals(_ aOther: Object) -> Boolean
Boolean Equals(Object aOther)
Function Equals(aOther As Object) As Boolean
Parameters:
- aOther: the reference to compare this with.
Returns true if the target object matches this one, by default compares the reference.
method Equals(obj: Object): Boolean
Boolean Equals(Object obj)
func Equals(_ obj: Object) -> Boolean
Boolean Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters:
- obj:
Compares this value to another value; returns true if equal.
method Equals(other: Double): Boolean
Boolean Equals(Double other)
func Equals(_ other: Double) -> Boolean
Boolean Equals(Double other)
Function Equals(other As Double) As Boolean
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.
class method IsInfinity(Value: Double): Boolean
static Boolean IsInfinity(Double Value)
static func IsInfinity(_ Value: Double) -> Boolean
static Boolean IsInfinity(Double Value)
Shared Function IsInfinity(Value As Double) As Boolean
Parameters:
- Value:
IsNaN
Returns true if the value is NaN.
class method IsNaN(Value: Double): Boolean
static Boolean IsNaN(Double Value)
static func IsNaN(_ Value: Double) -> Boolean
static Boolean IsNaN(Double Value)
Shared Function IsNaN(Value As Double) As Boolean
Parameters:
- Value:
IsNegativeInfinity
Returns true if the value is negative infinity.
class method IsNegativeInfinity(Value: Double): Boolean
static Boolean IsNegativeInfinity(Double Value)
static func IsNegativeInfinity(_ Value: Double) -> Boolean
static Boolean IsNegativeInfinity(Double Value)
Shared Function IsNegativeInfinity(Value As Double) As Boolean
Parameters:
- Value:
IsPositiveInfinity
Returns true if the value is positive infinity.
class method IsPositiveInfinity(Value: Double): Boolean
static Boolean IsPositiveInfinity(Double Value)
static func IsPositiveInfinity(_ Value: Double) -> Boolean
static Boolean IsPositiveInfinity(Double Value)
Shared Function IsPositiveInfinity(Value As Double) As Boolean
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.
class method Parse(s: String): Double
static Double Parse(String s)
static func Parse(_ s: String) -> Double
static Double Parse(String s)
Shared Function Parse(s As String) As Double
Parameters:
- s:
Parses a string to a double in a given locale.
class method Parse(s: String; aLocale: Locale): Double
static Double Parse(String s, Locale aLocale)
static func Parse(_ s: String, _ aLocale: Locale) -> Double
static Double Parse(String s, Locale aLocale)
Shared Function Parse(s As String, aLocale As Locale) As Double
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)
class method ReferenceEquals(a: Object; b: Object): Boolean
static Boolean ReferenceEquals(Object a, Object b)
static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean
static Boolean ReferenceEquals(Object a, Object b)
Shared Function ReferenceEquals(a As Object, b As Object) As Boolean
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.
method ToString(aLocale: Locale): String
String ToString(Locale aLocale)
func ToString(_ aLocale: Locale) -> String
String ToString(Locale aLocale)
Function ToString(aLocale As Locale) As String
Parameters:
- aLocale:
Converts a double to a string with a given number of digits.
method ToString(aNumberOfDecimalDigits: UInt32): String
String ToString(UInt32 aNumberOfDecimalDigits)
func ToString(_ aNumberOfDecimalDigits: UInt32) -> String
String ToString(UInt32 aNumberOfDecimalDigits)
Function ToString(aNumberOfDecimalDigits As UInt32) As String
Parameters:
- aNumberOfDecimalDigits:
Converts a double to a string in a given locale with a given number of digits.
method ToString(aNumberOfDecimalDigits: UInt32; aLocale: Locale): String
String ToString(UInt32 aNumberOfDecimalDigits, Locale aLocale)
func ToString(_ aNumberOfDecimalDigits: UInt32, _ aLocale: Locale) -> String
String ToString(UInt32 aNumberOfDecimalDigits, Locale aLocale)
Function ToString(aNumberOfDecimalDigits As UInt32, aLocale As Locale) As String
Parameters:
- aNumberOfDecimalDigits:
- aLocale:
Try to parse a double, returns true if succesful.
class method TryParse(s: String; aLocale: Locale; out Value: Double): Boolean
static Boolean TryParse(String s, Locale aLocale, out Double Value)
static func TryParse(_ s: String, _ aLocale: Locale, _ Value: inout Double) -> Boolean
static Boolean TryParse(String s, Locale aLocale, __out Double Value)
Shared Function TryParse(s As String, aLocale As Locale, <OutAttribute> ByRef Value As Double) As Boolean
Parameters:
- s:
- aLocale:
- Value:
Try to parse a double, returns true if succesful.
class method TryParse(s: String; out Value: Double): Boolean
static Boolean TryParse(String s, out Double Value)
static func TryParse(_ s: String, _ Value: inout Double) -> Boolean
static Boolean TryParse(String s, __out Double Value)
Shared Function TryParse(s As String, <OutAttribute> ByRef Value As Double) As Boolean
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
class property PositiveInfinity: Double read;
class Double PositiveInfinity { get; }
static var PositiveInfinity: Double { get{} }
class Double PositiveInfinity { __get; }
Shared ReadOnly Property PositiveInfinity() As Double
IsInfinity
Returns true if the value is positive or negative infinity.
class method IsInfinity(Value: Double): Boolean
static Boolean IsInfinity(Double Value)
static func IsInfinity(_ Value: Double) -> Boolean
static Boolean IsInfinity(Double Value)
Shared Function IsInfinity(Value As Double) As Boolean
Parameters:
- Value:
IsNaN
Returns true if the value is NaN.
class method IsNaN(Value: Double): Boolean
static Boolean IsNaN(Double Value)
static func IsNaN(_ Value: Double) -> Boolean
static Boolean IsNaN(Double Value)
Shared Function IsNaN(Value As Double) As Boolean
Parameters:
- Value:
IsNegativeInfinity
Returns true if the value is negative infinity.
class method IsNegativeInfinity(Value: Double): Boolean
static Boolean IsNegativeInfinity(Double Value)
static func IsNegativeInfinity(_ Value: Double) -> Boolean
static Boolean IsNegativeInfinity(Double Value)
Shared Function IsNegativeInfinity(Value As Double) As Boolean
Parameters:
- Value:
IsPositiveInfinity
Returns true if the value is positive infinity.
class method IsPositiveInfinity(Value: Double): Boolean
static Boolean IsPositiveInfinity(Double Value)
static func IsPositiveInfinity(_ Value: Double) -> Boolean
static Boolean IsPositiveInfinity(Double Value)
Shared Function IsPositiveInfinity(Value As Double) As Boolean
Parameters:
- Value:
Parses a string to a double.
class method Parse(s: String): Double
static Double Parse(String s)
static func Parse(_ s: String) -> Double
static Double Parse(String s)
Shared Function Parse(s As String) As Double
Parameters:
- s:
Parses a string to a double in a given locale.
class method Parse(s: String; aLocale: Locale): Double
static Double Parse(String s, Locale aLocale)
static func Parse(_ s: String, _ aLocale: Locale) -> Double
static Double Parse(String s, Locale aLocale)
Shared Function Parse(s As String, aLocale As Locale) As Double
Parameters:
- s:
- aLocale:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
class method ReferenceEquals(a: Object; b: Object): Boolean
static Boolean ReferenceEquals(Object a, Object b)
static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean
static Boolean ReferenceEquals(Object a, Object b)
Shared Function ReferenceEquals(a As Object, b As Object) As Boolean
Parameters:
- a: left value
- b: right value
Try to parse a double, returns true if succesful.
class method TryParse(s: String; aLocale: Locale; out Value: Double): Boolean
static Boolean TryParse(String s, Locale aLocale, out Double Value)
static func TryParse(_ s: String, _ aLocale: Locale, _ Value: inout Double) -> Boolean
static Boolean TryParse(String s, Locale aLocale, __out Double Value)
Shared Function TryParse(s As String, aLocale As Locale, <OutAttribute> ByRef Value As Double) As Boolean
Parameters:
- s:
- aLocale:
- Value:
Try to parse a double, returns true if succesful.
class method TryParse(s: String; out Value: Double): Boolean
static Boolean TryParse(String s, out Double Value)
static func TryParse(_ s: String, _ Value: inout Double) -> Boolean
static Boolean TryParse(String s, __out Double Value)
Shared Function TryParse(s As String, <OutAttribute> ByRef Value As Double) As Boolean
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.
method CompareTo(a: Double): Int32
Int32 CompareTo(Double a)
func CompareTo(_ a: Double) -> Int32
Int32 CompareTo(Double a)
Function CompareTo(a As Double) As Int32
Parameters:
- a:
Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.
method CompareTo(a: Object): Int32
Int32 CompareTo(Object a)
func CompareTo(_ a: Object) -> Int32
Int32 CompareTo(Object a)
Function CompareTo(a As Object) As Int32
Parameters:
- a:
Default constructor.
method Equals(aOther: Object): Boolean
Boolean Equals(Object aOther)
func Equals(_ aOther: Object) -> Boolean
Boolean Equals(Object aOther)
Function Equals(aOther As Object) As Boolean
Parameters:
- aOther: the reference to compare this with.
Returns true if the target object matches this one, by default compares the reference.
method Equals(obj: Object): Boolean
Boolean Equals(Object obj)
func Equals(_ obj: Object) -> Boolean
Boolean Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters:
- obj:
Compares this value to another value; returns true if equal.
method Equals(other: Double): Boolean
Boolean Equals(Double other)
func Equals(_ other: Double) -> Boolean
Boolean Equals(Double other)
Function Equals(other As Double) As Boolean
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.
method ToString(aLocale: Locale): String
String ToString(Locale aLocale)
func ToString(_ aLocale: Locale) -> String
String ToString(Locale aLocale)
Function ToString(aLocale As Locale) As String
Parameters:
- aLocale:
Converts a double to a string with a given number of digits.
method ToString(aNumberOfDecimalDigits: UInt32): String
String ToString(UInt32 aNumberOfDecimalDigits)
func ToString(_ aNumberOfDecimalDigits: UInt32) -> String
String ToString(UInt32 aNumberOfDecimalDigits)
Function ToString(aNumberOfDecimalDigits As UInt32) As String
Parameters:
- aNumberOfDecimalDigits:
Converts a double to a string in a given locale with a given number of digits.
method ToString(aNumberOfDecimalDigits: UInt32; aLocale: Locale): String
String ToString(UInt32 aNumberOfDecimalDigits, Locale aLocale)
func ToString(_ aNumberOfDecimalDigits: UInt32, _ aLocale: Locale) -> String
String ToString(UInt32 aNumberOfDecimalDigits, Locale aLocale)
Function ToString(aNumberOfDecimalDigits As UInt32, aLocale As Locale) As String
Parameters:
- aNumberOfDecimalDigits:
- aLocale: