What is a float?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is a float??

13th Jul 2019, 3:31 PM
hibaboom
5 Answers
+ 12
hibaboom 11 years of what? Programming experience? Or you mean you are 11 years old? 👀
13th Jul 2019, 4:30 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 10
Thanks to Google! THIS might help you 👇 https://goo.gl/search/what+is+float+in+data+type Integers and Floats - Processing.org Integers Floats. Integers and floats are two different kinds of numerical data. An integer (more commonly called an int) is a number without a decimal point. A float is a floating-point number, which means it is a number that has a decimal place. Floats are used when more precision is needed.
13th Jul 2019, 3:38 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 1
floats are numbers with . in it eg 3.6, 7.9 etc, great age to be starting programming 👍👍
13th Jul 2019, 4:22 PM
Mind To Machine 💻🕆
Mind To Machine 💻🕆 - avatar
0
Thank u i have 11 years
13th Jul 2019, 3:39 PM
hibaboom
0
Float is a numeric data type with decimal value, i.e: 2.5, 345.25 etc. If you define any integer value(45) in float data type then result will be 45.0
13th Jul 2019, 8:22 PM
Ravi Prakash
Ravi Prakash - avatar