0

What does floating point in floating point variable mean?

28th Sep 2016, 8:49 AM
Katherine
2 Answers
+ 3
Firstly "float" is a value type structure. Data types determines what type of data can be put within the declared variable. The float data type has 7 digits of precision.
28th Sep 2016, 9:29 AM
Ousmane Diaw
+ 1
It means that the variable contains a decimal point (it is not an integer). A disadvantage of this is that you cannot use increment-by-one operators like "++" and "--" on floating point variables.
29th Sep 2016, 10:32 AM
Samuel Neo
Samuel Neo - avatar