Namespace: System
Double
Represents a double-precision floating-point number.
Methods (5)
String ToString(String)
Converts the numeric value of this instance to its equivalent string representation, using the specified format.
| Parameter | Description |
|---|---|
| format | A numeric format string. |
Returns: The string representation of the value of this instance as specified by format.
bool IsNaN(Double)
Returns a value that indicates whether the specified value is not a number (NaN).
| Parameter | Description |
|---|---|
| d | A double-precision floating-point number. |
Returns: true if d evaluates to NaN; otherwise, false.
bool IsInfinity(Double)
Returns a value indicating whether the specified number evaluates to negative or positive infinity
| Parameter | Description |
|---|---|
| d | A double-precision floating-point number. |
Returns: true if d evaluates to PositiveInfinity or NegativeInfinity; otherwise, false.
bool IsPositiveInfinity(Double)
Returns a value indicating whether the specified number evaluates to positive infinity.
| Parameter | Description |
|---|---|
| d | A double-precision floating-point number. |
Returns: true if d evaluates to PositiveInfinity; otherwise, false.
bool IsNegativeInfinity(Double)
Returns a value indicating whether the specified number evaluates to negative infinity.
| Parameter | Description |
|---|---|
| d | A double-precision floating-point number. |
Returns: true if d evaluates to NegativeInfinity; otherwise, false.
Fields & Constants (6)
double MaxValue
Represents the largest possible value of a Double. This field is constant.
double MinValue
Represents the smallest possible value of a Double. This field is constant.
double Epsilon
Represents the smallest positive Double value that is greater than zero. This field is constant.
double NaN
Represents a value that is not a number (NaN). This field is constant.
double PositiveInfinity
Represents positive infinity. This field is constant.
double NegativeInfinity
Represents negative infinity. This field is constant.