| Double Structure |
Namespace: System
[SerializableAttribute] public struct Double : IComparable, IFormattable, IConvertible, IComparable<double>, IEquatable<double>
The Double type exposes the following members.
| Name | Description | |
|---|---|---|
| CompareTo(Double) | 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) | 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) | Returns a value indicating whether this instance and a specified Double object represent the same value. | |
| Equals(Object) | Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueTypeEquals(Object).) | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsNaN | Returns a value indicating whether the specified number evaluates to a value that is not a number (NaN). | |
| Parse(String) | Converts the string representation of a number to its double-precision floating-point number equivalent. | |
| Parse(String, NumberStyles) | Converts the string representation of a number in a specified style to its double-precision floating-point number equivalent. | |
| Parse(String, IFormatProvider) | Converts the string representation of a number in a specified culture-specific format to its double-precision floating-point number equivalent. | |
| Parse(String, NumberStyles, IFormatProvider) | Converts the string representation of a number in a specified style and culture-specific format to its double-precision floating-point number equivalent. | |
| ToString | Converts the numeric value of this instance to its equivalent string representation. (Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information. | |
| ToString(String) | Converts the numeric value of this instance to its equivalent string representation, using the specified format. | |
| ToString(String, IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information. | |
| TryParse(String, Double) | Converts the string representation of a number to its double-precision floating-point number equivalent. A return value indicates whether the conversion succeeded or failed. | |
| TryParse(String, 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. A return value indicates whether the conversion succeeded or failed. |
| Name | Description | |
|---|---|---|
| Epsilon | Represents the smallest positive Double value that is greater than zero. This field is constant. | |
| MaxValue | Represents the largest possible value of a Double. This field is constant. | |
| MinValue | Represents the smallest possible value of a Double. This field is constant. | |
| NaN | Represents a value that is not a number (NaN). This field is constant. | |
| NegativeInfinity | Represents negative infinity. This field is constant. | |
| PositiveInfinity | Represents positive infinity. This field is constant. |