Double

Overview

Double precision floating point type.

Location

Implements

 

constructor  protected    (declared in ValueType)

Default constructor.

 

constructor

 

Double()

 

init()

 

Double()

 

Sub New()

CompareTo (Double): Int32

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:

CompareTo (Object): Int32

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:

Equals (Double): Boolean

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:

Equals (Object): Boolean  override virtual

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: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

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

contain the max value this type can hold.

 

class method MaxValue: Double

 

static Double MaxValue()

 

static func MaxValue() -> Double

 

static Double MaxValue()

 

Shared Function MaxValue() As Double

MinValue

contain the minimum value this type can hold.

 

class method MinValue: Double

 

static Double MinValue()

 

static func MinValue() -> Double

 

static Double MinValue()

 

Shared Function MinValue() As Double

NaN

contain the NaN value.

 

class method NaN: Double

 

static Double NaN()

 

static func NaN() -> Double

 

static Double NaN()

 

Shared Function NaN() As Double

NegativeInfinity

Contains negative infinity.

 

class method NegativeInfinity: Double

 

static Double NegativeInfinity()

 

static func NegativeInfinity() -> Double

 

static Double NegativeInfinity()

 

Shared Function NegativeInfinity() As Double

Parse (String): 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:

Parse (String, Locale): Double

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

Contains positive infinity.

 

class method PositiveInfinity: Double

 

static Double PositiveInfinity()

 

static func PositiveInfinity() -> Double

 

static Double PositiveInfinity()

 

Shared Function 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

ToString (Locale): 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:

ToString (UInt32): String

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:

ToString (UInt32, Locale): String

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:

TryParse (String, Double): Boolean

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: 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:

TryParse (String, Locale, Double): Boolean

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: 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:

 

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

contain the max value this type can hold.

 

class method MaxValue: Double

 

static Double MaxValue()

 

static func MaxValue() -> Double

 

static Double MaxValue()

 

Shared Function MaxValue() As Double

MinValue

contain the minimum value this type can hold.

 

class method MinValue: Double

 

static Double MinValue()

 

static func MinValue() -> Double

 

static Double MinValue()

 

Shared Function MinValue() As Double

NaN

contain the NaN value.

 

class method NaN: Double

 

static Double NaN()

 

static func NaN() -> Double

 

static Double NaN()

 

Shared Function NaN() As Double

NegativeInfinity

Contains negative infinity.

 

class method NegativeInfinity: Double

 

static Double NegativeInfinity()

 

static func NegativeInfinity() -> Double

 

static Double NegativeInfinity()

 

Shared Function NegativeInfinity() As Double

Parse (String): 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:

Parse (String, Locale): Double

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

Contains positive infinity.

 

class method PositiveInfinity: Double

 

static Double PositiveInfinity()

 

static func PositiveInfinity() -> Double

 

static Double PositiveInfinity()

 

Shared Function 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

TryParse (String, Double): Boolean

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: 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:

TryParse (String, Locale, Double): Boolean

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: 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:

 

constructor  protected    (declared in ValueType)

Default constructor.

 

constructor

 

Double()

 

init()

 

Double()

 

Sub New()

CompareTo (Double): Int32

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:

CompareTo (Object): Int32

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:

Equals (Double): Boolean

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:

Equals (Object): Boolean  override virtual

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: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

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

ToString (Locale): 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:

ToString (UInt32): String

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:

ToString (UInt32, Locale): String

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: