Double

Edit on Github instead

The Double class wraps primative doubles into Double objects. For example:

Double d = new Double(9.28);
// Now, d has the value 9.28
double e = 0.25;
Double dbl = new Double(e);
// Now, dbl has the value 0.25

Suggest changes

Related links

URL Topic Source