Answer: As approximate representations of decimal numbers
Explanation:
In the computer programming language, the float and the double variable is basically used to represent the decimal numbers. In the C language, both the float is basically represent the decimal value of precision upto the 7 digits and the double variable represent upto 16 digit of the precision.
Float is the type of the data type that is used to represent the floating point in the programming language and it takes less memory so that is why it is faster in speed.
Double variable is basically used to represent the numeric variable and decimal number in the programming language and it hold very large number as compared to float.