Java Programming/Keywords/double

From Wikibooks, the open-content textbooks collection

< Java Programming | Keywords
Jump to: navigation, search

double is a keyword which designates the 64 bit float primitive type.

The java.lang.Double class is the nominal wrapper class when you need to store an double value but an object reference is required.


Syntact:

double <variable-name> = <float-value>;

For Example:

double d = 65.55;

See also:

Personal tools
Create a book
  • Add wiki page
  • Collections help