System.Double Members

The members of System.Double are listed below.

See Also: Inherited members from System.ValueType

Public Fields

const
Epsilondouble (4.94065645841247E-324).

Represents the smallest positive double value that is greater than zero. This field is constant.

const
MaxValuedouble (1.79769313486232E+308).

Represents the largest possible value of a double. This field is constant.

const
MinValuedouble (-1.79769313486232E+308).

Represents the smallest possible value of a double. This field is constant.

const
NaNdouble (NaN).

Represents a value that is not a number (NaN). This field is constant.

const
NegativeInfinitydouble (-Infinity).

Represents negative infinity. This field is constant.

const
PositiveInfinitydouble (Infinity).

Represents positive infinity. This field is constant.

Public Methods

CompareTo(double) : int

Compares this instance to a specified double-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 double-precision floating-point number.

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.

Equals(double) : bool

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

override
Equals(object) : bool

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

override
GetHashCode() : int

Returns the hash code for this instance.

GetTypeCode() : TypeCode

Returns the TypeCode for value type double.

static
IsInfinity(double) : bool

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

static
IsNaN(double) : bool

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

static
IsNegativeInfinity(double) : bool

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

static
IsPositiveInfinity(double) : bool

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

static
Parse(string) : double

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

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

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

static
Parse(string, IFormatProvider) : double

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

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

Converts the string representation of a number in a specified style and culture-specific format to its double-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 double) : bool
Documentation for this section has not yet been entered.
static
TryParse(string, System.Globalization.NumberStyles, IFormatProvider, out double) : bool
Documentation for this section has not yet been entered.

Public Operators

static
Equality(double, double)

Returns a value that indicates whether two specified double values are equal.

static
GreaterThan(double, double)

Returns a value that indicates whether a specified double value is greater than another specified double value.

static
GreaterThanOrEqual(double, double)

Returns a value that indicates whether a specified double value is greater than or equal to another specified double value.

static
Inequality(double, double)

Returns a value that indicates whether two specified double values are not equal.

static
LessThan(double, double)

Returns a value that indicates whether a specified double value is less than another specified double value.

static
LessThanOrEqual(double, double)

Returns a value that indicates whether a specified double value is less than or equal to another specified double value.

Explicitly Implemented Interface Members

IConvertible.ToBoolean

For a description of this member, see IConvertible.ToBoolean(IFormatProvider).

IConvertible.ToByte

For a description of this member, see IConvertible.ToByte(IFormatProvider).

IConvertible.ToChar

This conversion is not supported. Attempting to use this method throws an InvalidCastException.

IConvertible.ToDateTime

This conversion is not supported. Attempting to use this method throws an InvalidCastException

IConvertible.ToDecimal

For a description of this member, see IConvertible.ToDecimal(IFormatProvider).

IConvertible.ToDouble

For a description of this member, see IConvertible.ToDouble(IFormatProvider).

IConvertible.ToInt16

For a description of this member, see IConvertible.ToInt16(IFormatProvider).

IConvertible.ToInt32

For a description of this member, see IConvertible.ToInt32(IFormatProvider).

IConvertible.ToInt64

For a description of this member, see IConvertible.ToInt64(IFormatProvider).

IConvertible.ToSByte

For a description of this member, see IConvertible.ToSByte(IFormatProvider).

IConvertible.ToSingle

For a description of this member, see IConvertible.ToSingle(IFormatProvider).

IConvertible.ToType

For a description of this member, see IConvertible.ToType(Type, IFormatProvider).

IConvertible.ToUInt16

For a description of this member, see IConvertible.ToUInt16(IFormatProvider).

IConvertible.ToUInt32

For a description of this member, see IConvertible.ToUInt32(IFormatProvider).

IConvertible.ToUInt64

For a description of this member, see IConvertible.ToUInt64(IFormatProvider).