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

What is float python?

:(

3rd Jan 2021, 9:40 AM
CGI7##{}
CGI7##{} - avatar
3 Answers
+ 4
Float is also known as floating point numbers. In other words, you can understand float as "numbers with decimal places". For example: 1.23 = float (with decimal places) 123 = integer (without decimal places)
3rd Jan 2021, 9:44 AM
Ooi Zong Qi
Ooi Zong Qi - avatar
+ 3
Just an additional to Ooi Zong Qi 's statement: 0.0 1.0 -2.0 These numbers are also float numbers.
3rd Jan 2021, 10:17 AM
noteve
noteve - avatar
+ 3
A float example is 1.3 This point between 1 and 3 is float
3rd Jan 2021, 10:37 AM
Andrea Barreto
Andrea Barreto - avatar