Android Guides | Samples

Java.Lang.Double Class

The wrapper for the primitive type double.

See Also: Double

Syntax

[Android.Runtime.Register("java/lang/Double", DoNotGenerateAcw=true)]
public sealed class Double : Number, IComparable, IConvertible, IDisposable

Remarks

The wrapper for the primitive type double.

See Also

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.Double are listed below.

See Also: Number

Public Constructors

Constructs a new Double with the specified primitive double value.
Constructs a new Double from the specified string.

Public Fields

const
MaxValueDouble (1.79769313486232E+308). Constant for the maximum double value, (2 - 2-52) * 21023.
const
MinValueDouble (4.94065645841247E-324). Constant for the minimum double value, 2-1074.
const
NaNDouble (NaN). Constant for the Not-a-Number (NaN) value of the double type.
const
NegativeInfinityDouble (-Infinity). Constant for the negative infinity value of the double type.
const
PositiveInfinityDouble (Infinity). Constant for the positive infinity value of the double type.
const
SizeInt32 (64). Constant for the number of bits needed to represent a double in two's complement form.

Public Properties

[read-only]
IsInfiniteBoolean. Indicates whether this object represents an infinite value.
[read-only]
IsNaNBoolean. Indicates whether this object is a Not-a-Number (NaN) value.
[read-only]
static
MaxExponentInt32. Maximum base-2 exponent that a finite value of the double type may have.
[read-only]
static
MinExponentInt32. Minimum base-2 exponent that a normal value of the double type may have.
[read-only]
static
MinNormalDouble. Constant for the smallest positive normal value of the double type.
[read-only]
static
TypeClass. The Class object that represents the primitive type double.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
Compare(Double, Double) : Int32
Compares the two specified double values.
CompareTo(Double) : Int32
Compares this object to the specified double object to determine their relative order.
static
DoubleToLongBits(Double) : Int64
Returns an integer corresponding to the bits of the given double precision value.
static
DoubleToRawLongBits(Double) : Int64
Returns an integer corresponding to the bits of the given double precision value.
override
DoubleValue() : Double
Gets the primitive value of this double.
override
FloatValue() : Single
Returns this object's value as a float.
override
IntValue() : Int32
Returns this object's value as an int.
static
InvokeIsInfinite(Double) : Boolean
Indicates whether the specified double represents an infinite value.
static
InvokeIsNaN(Double) : Boolean
Indicates whether the specified double is a Not-a-Number (NaN) value.
static
LongBitsToDouble(Int64) : Double
Returns the double precision float corresponding to the given bits.
override
LongValue() : Int64
Returns this object's value as a long.
static
ParseDouble(String) : Double
Parses the specified string as a double value.
static
ToHexString(Double) : String
Converts the specified double into its hexadecimal string representation.
static
ToString(Double) : String
Returns a string containing a concise, human-readable description of the specified double value.
static
ValueOf(Double) : Double
Returns a Double instance for the specified double value.
static
ValueOf(String) : Double
Parses the specified string as a double value.

Public Operators

Explicitly Implemented Interface Members