// double numbers are not specially marked in Java double num1 = 15.51; Double num2 = 32.23; // they are the 64bit version of float/Float // watch it: long are marked and not int like here for float/double