Float is used to declare floating-point numbers (decimal number). They are useful because they have greater resolution than integers.
They are stored as 32 bits (4 bytes), so they can be as large as 3.4028235E+38 and as low as -3.4028235E+38
float foo = value
- foo: name of the variable
- value: a floating-point number
float a = 3.1415;
float b = -4.5;