+ 1
What is a floating point variable?
A non-technical description please?
1 ответ
+ 2
It's a variable that represents a real number (eg 1.1, 3.141, 9.0, 123.456 etc). The 'float' refers to floating decimal point (i.e you don't have a set number before or after decimal). Double is similar to float, but can hold more digits (has double precision)