0

What is a float??

I didn't understand clearly

27th Apr 2017, 3:12 PM
Surya Venu
Surya Venu - avatar
2 Réponses
+ 9
Float variables are variables used to store floating-point values, i.e. numbers with decimal places. E.g. 1, 3, 6, -1, 102 are integers values. 1.271, 3.142 are floating-point values.
27th Apr 2017, 3:41 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
float variable declaration will have digits on both sides of a decimal point look ex-111.11 is float variable 😎
27th Apr 2017, 3:48 PM
Nikhil
Nikhil - avatar