2. 12. 1. Java double: double is 64 bit double precision type and used when fractional precision calculation is required.
public class Main { public static void main(String[] args) { double d = 1234.56;
System.out.println("Value of double variable d is :" + d);
}
}
//Value of double variable d is :1234.56
2. 12. Double
2. 12. 1.
Java double: double is 64 bit double precision type and used when fractional precision calculation is required.