Is there any way to convert a Long data type to Double or double?
Long
Double
double
For example, I need to convert 15552451L to a
15552451L
You can try something like this:
long x = somevalue; double y = Double.longBitsToDouble(x);