Conversion from Long to Double in Java
Solution 1:
You could simply do :
double d = (double)15552451L;
Or you could get double from Long object as :
Long l = new Long(15552451L);
double d = l.doubleValue();
Solution 2:
Simple casting?
double d = (double)15552451L;