Keywords double and float are used for declaring floating type variables. For example:
float number; double longNumber;
Here, number is a single-precision floating type variable whereas, longNumber is a double-precision floating type variable.
Keywords double and float are used for declaring floating type variables. For example:
float number; double longNumber;
Here, number is a single-precision floating type variable whereas, longNumber is a double-precision floating type variable.