I’m so confused about floats | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I’m so confused about floats

HELLLLLLLPPPPP MEEEEEEE PLZZZZZ

24th Aug 2018, 4:37 PM
Didsipell
Didsipell - avatar
3 Answers
+ 12
I recently answered about Floats in here: https://www.sololearn.com/discuss/1468974/?ref=app
24th Aug 2018, 5:56 PM
Eduardo Petry
Eduardo Petry - avatar
+ 2
Those are examples of floating point numbers, known as data type "float": 1.3F 3.0F 2.01132F 3.1416F etc. The F behind the number marks it as float, so that it's not a "double". A double can also be used to store floating point numbers, but those can be of the doubled size.
24th Aug 2018, 5:14 PM
Jonas Schröter
Jonas Schröter - avatar
0
thx
24th Aug 2018, 5:31 PM
Didsipell
Didsipell - avatar