+ 2
What is a float
New to this
3 Antworten
+ 5
"Float is a shortened term for "floating point." By definition, it's a fundamental data type built into the compiler that's used to define numeric values with floating decimal points. C, C++, C# and many other programming languages recognize float as a data type. Other common data types include int and double."
Source: https://www.google.co.in/url?sa=t&source=web&rct=j&url=https://www.thoughtco.com/definition-of-float-958293&ved=0ahUKEwjk46P0-_LaAhUgTI8KHUnZBlQQFghNMBA&usg=AOvVaw3JY6233xpB2OH5hc1yTPNW
Also, do go through the Sololearn course material:
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2272/?ref=app
https://www.sololearn.com/learn/CPlusPlus/1622/?ref=app
https://www.sololearn.com/learn/1345/?ref=app
+ 2
Thank you very much!
+ 2
Basically, floats are a kind of data for numbers that are not whole numbers or have decimals.