double myNum = 19.99d;System.out.println(myNum);
myNum
out
The “double” keyword is a data type capable of storing fractional numbers ranging from 1.7e−308 to 1.7e+308.
Remember to conclude the value with a “d”: