Skip to content
Reference > Classes

Double

Definition

Double var = .... ;

Extends

Extended By

None

Description

A number of type Double

Method Summary

Owner Name Return Type Description
Double constructor(d) Object Initialize a Double object
Double byteValue() Byte Returns the value of this Double as a Byte after a narrowing primitive conversion.
Object getClassName() String Returns the string name of this object's class type.
Double isFinite() Boolean Returns true if this Double is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).
Double isInfinite() Boolean Returns true if this Double is infinitely large in magnitude, false otherwise.
Double isNaN() Boolean Returns true if this Double instance is a Not-a-Number (NaN) value, false otherwise.
Object toJson() String Returns a json representation of this object.

Method Definitions


constructor(d)

Double double = new Double(Double d)

Description

Initialize a Double object

Parameter Definition

Name Type Description
d Double  a Double

byteValue()

Byte Double::byteValue()

Description

Returns the value of this Double as a Byte after a narrowing primitive conversion.


isFinite()

Boolean Double::isFinite()

Description

Returns true if this Double is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).


isInfinite()

Boolean Double::isInfinite()

Description

Returns true if this Double is infinitely large in magnitude, false otherwise.


isNaN()

Boolean Double::isNaN()

Description

Returns true if this Double instance is a Not-a-Number (NaN) value, false otherwise.