how to convert double to long in java code example
Example 1: java double to long
long num = Double.valueOf(d).longValue()
Example 2: java long to double
Long l = new Long(15552451L);
double d = l.doubleValue();
long num = Double.valueOf(d).longValue()
Long l = new Long(15552451L);
double d = l.doubleValue();