// Primitive type int myInt = 5; double myDouble = (double)myInt; // explicit cast myDouble = myInt; // implicit cast // Object type Double myDouble = new Double(myInt) // via constructor myDouble = Double.valueOf(myInt) // via valueOf