Answers for "convert double into long in java"

1

java double to long

long num = Double.valueOf(d).longValue()
Posted by: Guest on August-24-2020
0

java long to double

Long l = new Long(15552451L);
double d = l.doubleValue();
Posted by: Guest on February-06-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language