Numbers with decimal values or fractional components are called floating numbers. For example: 1.34 is a floating point number. Floating point types can represent a wider range of values than integer types. There are two signed floating point number:
Double: It represents a 64 bit floating point number. It is used when floating point values are very large.
Float: It represents a 32 bit floating point number. It is used when floating point values does not need 64 bit precision.