With this code you can type cast a double variable value to integer.
public class TypeCastDouble {
public static void main(String[] args){
double myDouble = 420.5;
...
Type: Posts; User: JavaPF
With this code you can type cast a double variable value to integer.
public class TypeCastDouble {
public static void main(String[] args){
double myDouble = 420.5;
...