long to double conversion in java code example Example: java long to double Long l = new Long(15552451L); double d = l.doubleValue();