Skip to content

float

API reference for float.

Properties

PropertyTypeAccess
Epsilonfloatget
MaxValuefloatget
MinValuefloatget
NaNfloatget
NegativeInfinityfloatget
PositiveInfinityfloatget

Methods

CompareTo

CompareTo(value: object) -> int
CompareTo(value: float) -> int

Equals

Equals(obj: object) -> bool
Equals(obj: float) -> bool

GetHashCode

GetHashCode() -> int

GetType

GetType() -> SystemType

IsInfinity

static IsInfinity(f: float) -> bool

IsNaN

static IsNaN(f: float) -> bool

IsNegativeInfinity

static IsNegativeInfinity(f: float) -> bool

IsPositiveInfinity

static IsPositiveInfinity(f: float) -> bool

Parse

static Parse(s: string, style: SystemGlobalizationNumberStyles, provider: SystemIFormatProvider) -> float
static Parse(s: string, style: SystemGlobalizationNumberStyles) -> float
static Parse(s: string, provider: SystemIFormatProvider) -> float
static Parse(s: string) -> float

ToString

ToString(provider: SystemIFormatProvider) -> string
ToString() -> string
ToString(format: string, provider: SystemIFormatProvider) -> string
ToString(format: string) -> string

TryParse

static TryParse(s: string, style: SystemGlobalizationNumberStyles, provider: SystemIFormatProvider, result: float) -> bool
static TryParse(s: string, result: float) -> bool