System.Single: Method Members

The methods of System.Single are listed below. For a list of all members, see the Single Members list.

See Also: Inherited members from System.ValueType

Public Methods

CompareTo(object) : int

Compares this instance to a specified object and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified object.

CompareTo(float) : int

Compares this instance to a specified single-precision floating-point number and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the specified single-precision floating-point number.

override
Equals(object) : bool

Returns a value indicating whether this instance is equal to a specified object.

Equals(float) : bool

Returns a value indicating whether this instance and a specified float object represent the same value.

override
GetHashCode() : int

Returns the hash code for this instance.

GetTypeCode() : TypeCode

Returns the TypeCode for value type float.

static
IsInfinity(float) : bool

Returns a value indicating whether the specified number evaluates to negative or positive infinity.

static
IsNaN(float) : bool

Returns a value that indicates whether the specified value is not a number (float.NaN).

static
IsNegativeInfinity(float) : bool

Returns a value indicating whether the specified number evaluates to negative infinity.

static
IsPositiveInfinity(float) : bool

Returns a value indicating whether the specified number evaluates to positive infinity.

static
Parse(string) : float

Converts the string representation of a number to its single-precision floating-point number equivalent.

static
Parse(string, System.Globalization.NumberStyles) : float

Converts the string representation of a number in a specified style to its single-precision floating-point number equivalent.

static
Parse(string, IFormatProvider) : float

Converts the string representation of a number in a specified culture-specific format to its single-precision floating-point number equivalent.

static
Parse(string, System.Globalization.NumberStyles, IFormatProvider) : float

Converts the string representation of a number in a specified style and culture-specific format to its single-precision floating-point number equivalent.

override
ToString() : string

Converts the numeric value of this instance to its equivalent string representation.

ToString(IFormatProvider) : string

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

ToString(string) : string

Converts the numeric value of this instance to its equivalent string representation, using the specified format.

ToString(string, IFormatProvider) : string

Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.

static
TryParse(string, out float) : bool
Documentation for this section has not yet been entered.
static
TryParse(string, System.Globalization.NumberStyles, IFormatProvider, out float) : bool
Documentation for this section has not yet been entered.