Unlike an int
(whole number), a float
have a decimal point, and so can a double
.
But the difference between the two is that a double
is twice as detailed as a float
, meaning that it can have double the amount of numbers after the decimal point.