Single

Overview

Location


 

constructor  protected    (declared in ValueType)

 

constructor

 

Single()

 

init()

 

Single()

 

Sub New()

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:

CompareTo (Single): Int32

Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.

 

method CompareTo(a: Single): Int32

 

Int32 CompareTo(Single a)

 

func CompareTo(_ a: Single) -> Int32

 

Int32 CompareTo(Single a)

 

Function CompareTo(a As Single) As Int32

Parameters:

  • a:

Equals (Object): Boolean  virtual    (declared in Object)

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.

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:

Equals (Single): Boolean

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(other: Single): Boolean

 

Boolean Equals(Single other)

 

func Equals(_ other: Single) -> Boolean

 

Boolean Equals(Single other)

 

Function Equals(other As Single) 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: Single): Boolean

 

static Boolean IsInfinity(Single Value)

 

static func IsInfinity(_ Value: Single) -> Boolean

 

static Boolean IsInfinity(Single Value)

 

Shared Function IsInfinity(Value As Single) As Boolean

Parameters:

  • Value:

IsNaN

Returns true if the value is NaN.

 

class method IsNaN(Value: Single): Boolean

 

static Boolean IsNaN(Single Value)

 

static func IsNaN(_ Value: Single) -> Boolean

 

static Boolean IsNaN(Single Value)

 

Shared Function IsNaN(Value As Single) As Boolean

Parameters:

  • Value:

IsNegativeInfinity

Returns true if the value is negative infinity.

 

class method IsNegativeInfinity(Value: Single): Boolean

 

static Boolean IsNegativeInfinity(Single Value)

 

static func IsNegativeInfinity(_ Value: Single) -> Boolean

 

static Boolean IsNegativeInfinity(Single Value)

 

Shared Function IsNegativeInfinity(Value As Single) As Boolean

Parameters:

  • Value:

IsPositiveInfinity

Returns true if the value is positive infinity.

 

class method IsPositiveInfinity(Value: Single): Boolean

 

static Boolean IsPositiveInfinity(Single Value)

 

static func IsPositiveInfinity(_ Value: Single) -> Boolean

 

static Boolean IsPositiveInfinity(Single Value)

 

Shared Function IsPositiveInfinity(Value As Single) As Boolean

Parameters:

  • Value:

MaxValue

 

class property MaxValue: Single read;

 

class Single MaxValue { get; }

 

static var MaxValue: Single { get{} }

 

class Single MaxValue { __get; }

 

Shared ReadOnly Property MaxValue() As Single

MinValue

 

class property MinValue: Single read;

 

class Single MinValue { get; }

 

static var MinValue: Single { get{} }

 

class Single MinValue { __get; }

 

Shared ReadOnly Property MinValue() As Single

NaN

 

class property NaN: Single read;

 

class Single NaN { get; }

 

static var NaN: Single { get{} }

 

class Single NaN { __get; }

 

Shared ReadOnly Property NaN() As Single

NegativeInfinity

 

class property NegativeInfinity: Single read;

 

class Single NegativeInfinity { get; }

 

static var NegativeInfinity: Single { get{} }

 

class Single NegativeInfinity { __get; }

 

Shared ReadOnly Property NegativeInfinity() As Single

Parse (String): Single

Parses a string to a single.

 

class method Parse(s: String): Single

 

static Single Parse(String s)

 

static func Parse(_ s: String) -> Single

 

static Single Parse(String s)

 

Shared Function Parse(s As String) As Single

Parameters:

  • s:

Parse (String, Locale): Single

Parses a string to a single.

 

class method Parse(s: String; aLocale: Locale): Single

 

static Single Parse(String s, Locale aLocale)

 

static func Parse(_ s: String, _ aLocale: Locale) -> Single

 

static Single Parse(String s, Locale aLocale)

 

Shared Function Parse(s As String, aLocale As Locale) As Single

Parameters:

  • s:
  • aLocale:

PositiveInfinity

 

class property PositiveInfinity: Single read;

 

class Single PositiveInfinity { get; }

 

static var PositiveInfinity: Single { get{} }

 

class Single PositiveInfinity { __get; }

 

Shared ReadOnly Property PositiveInfinity() As Single

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

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

ToString (Locale): String

Gets the string representation of this method.

 

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:

TryParse (String, Locale, Single): Boolean

Try to parse a double, returns true if succesful.

 

class method TryParse(s: String; aLocale: Locale; out Value: Single): Boolean

 

static Boolean TryParse(String s, Locale aLocale, out Single Value)

 

static func TryParse(_ s: String, _ aLocale: Locale, _ Value: Single) -> Boolean

 

static Boolean TryParse(String s, Locale aLocale, __out Single Value)

 

Shared Function TryParse(s As String, aLocale As Locale, <OutAttribute> ByRef Value As Single) As Boolean

Parameters:

  • s:
  • aLocale:
  • Value:

TryParse (String, Single): Boolean

Try to parse a double, returns true if succesful.

 

class method TryParse(s: String; out Value: Single): Boolean

 

static Boolean TryParse(String s, out Single Value)

 

static func TryParse(_ s: String, _ Value: Single) -> Boolean

 

static Boolean TryParse(String s, __out Single Value)

 

Shared Function TryParse(s As String, <OutAttribute> ByRef Value As Single) As Boolean

Parameters:

  • s:
  • Value:

 

MaxValue

 

class property MaxValue: Single read;

 

class Single MaxValue { get; }

 

static var MaxValue: Single { get{} }

 

class Single MaxValue { __get; }

 

Shared ReadOnly Property MaxValue() As Single

MinValue

 

class property MinValue: Single read;

 

class Single MinValue { get; }

 

static var MinValue: Single { get{} }

 

class Single MinValue { __get; }

 

Shared ReadOnly Property MinValue() As Single

NaN

 

class property NaN: Single read;

 

class Single NaN { get; }

 

static var NaN: Single { get{} }

 

class Single NaN { __get; }

 

Shared ReadOnly Property NaN() As Single

NegativeInfinity

 

class property NegativeInfinity: Single read;

 

class Single NegativeInfinity { get; }

 

static var NegativeInfinity: Single { get{} }

 

class Single NegativeInfinity { __get; }

 

Shared ReadOnly Property NegativeInfinity() As Single

PositiveInfinity

 

class property PositiveInfinity: Single read;

 

class Single PositiveInfinity { get; }

 

static var PositiveInfinity: Single { get{} }

 

class Single PositiveInfinity { __get; }

 

Shared ReadOnly Property PositiveInfinity() As Single

 

IsInfinity

Returns true if the value is positive or negative infinity.

 

class method IsInfinity(Value: Single): Boolean

 

static Boolean IsInfinity(Single Value)

 

static func IsInfinity(_ Value: Single) -> Boolean

 

static Boolean IsInfinity(Single Value)

 

Shared Function IsInfinity(Value As Single) As Boolean

Parameters:

  • Value:

IsNaN

Returns true if the value is NaN.

 

class method IsNaN(Value: Single): Boolean

 

static Boolean IsNaN(Single Value)

 

static func IsNaN(_ Value: Single) -> Boolean

 

static Boolean IsNaN(Single Value)

 

Shared Function IsNaN(Value As Single) As Boolean

Parameters:

  • Value:

IsNegativeInfinity

Returns true if the value is negative infinity.

 

class method IsNegativeInfinity(Value: Single): Boolean

 

static Boolean IsNegativeInfinity(Single Value)

 

static func IsNegativeInfinity(_ Value: Single) -> Boolean

 

static Boolean IsNegativeInfinity(Single Value)

 

Shared Function IsNegativeInfinity(Value As Single) As Boolean

Parameters:

  • Value:

IsPositiveInfinity

Returns true if the value is positive infinity.

 

class method IsPositiveInfinity(Value: Single): Boolean

 

static Boolean IsPositiveInfinity(Single Value)

 

static func IsPositiveInfinity(_ Value: Single) -> Boolean

 

static Boolean IsPositiveInfinity(Single Value)

 

Shared Function IsPositiveInfinity(Value As Single) As Boolean

Parameters:

  • Value:

Parse (String): Single

Parses a string to a single.

 

class method Parse(s: String): Single

 

static Single Parse(String s)

 

static func Parse(_ s: String) -> Single

 

static Single Parse(String s)

 

Shared Function Parse(s As String) As Single

Parameters:

  • s:

Parse (String, Locale): Single

Parses a string to a single.

 

class method Parse(s: String; aLocale: Locale): Single

 

static Single Parse(String s, Locale aLocale)

 

static func Parse(_ s: String, _ aLocale: Locale) -> Single

 

static Single Parse(String s, Locale aLocale)

 

Shared Function Parse(s As String, aLocale As Locale) As Single

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

TryParse (String, Locale, Single): Boolean

Try to parse a double, returns true if succesful.

 

class method TryParse(s: String; aLocale: Locale; out Value: Single): Boolean

 

static Boolean TryParse(String s, Locale aLocale, out Single Value)

 

static func TryParse(_ s: String, _ aLocale: Locale, _ Value: Single) -> Boolean

 

static Boolean TryParse(String s, Locale aLocale, __out Single Value)

 

Shared Function TryParse(s As String, aLocale As Locale, <OutAttribute> ByRef Value As Single) As Boolean

Parameters:

  • s:
  • aLocale:
  • Value:

TryParse (String, Single): Boolean

Try to parse a double, returns true if succesful.

 

class method TryParse(s: String; out Value: Single): Boolean

 

static Boolean TryParse(String s, out Single Value)

 

static func TryParse(_ s: String, _ Value: Single) -> Boolean

 

static Boolean TryParse(String s, __out Single Value)

 

Shared Function TryParse(s As String, <OutAttribute> ByRef Value As Single) As Boolean

Parameters:

  • s:
  • Value:

 

constructor  protected    (declared in ValueType)

 

constructor

 

Single()

 

init()

 

Single()

 

Sub New()

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:

CompareTo (Single): Int32

Compares this value to another value; returns 0 if equal, -1 if less, 1 if more.

 

method CompareTo(a: Single): Int32

 

Int32 CompareTo(Single a)

 

func CompareTo(_ a: Single) -> Int32

 

Int32 CompareTo(Single a)

 

Function CompareTo(a As Single) As Int32

Parameters:

  • a:

Equals (Object): Boolean  virtual    (declared in Object)

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.

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:

Equals (Single): Boolean

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(other: Single): Boolean

 

Boolean Equals(Single other)

 

func Equals(_ other: Single) -> Boolean

 

Boolean Equals(Single other)

 

Function Equals(other As Single) 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

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

ToString (Locale): String

Gets the string representation of this method.

 

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: