+ 1

Linear

This might be a stupid question but why do you have to use float?

10th Mar 2018, 8:29 PM
mark hoskins
mark hoskins - avatar
3 ответов
10th Mar 2018, 8:42 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 2
Fractional values are expressed in floats to process mathematical calculations easily, if we express fractional values like, 5/4, 9/7, 3/2, it makes mathematical operation complicated and time consuming. A Float is expressed a number as fractional value as 1.00, 2.00, 3.00, 1.5, 1.50, 1.75, 1.83, 1.333333333333 etc. An integer means full value,it has no fraction,so it's expressed as 1, 2, 3, 4, 5, 6, 7 8, ...100 etc. A integer can convert into float and this float is expressed as 1 to 1.0, or 1.00 A float can convert into integer by omitting It's fractional part as 1.333333 to 1, 2.75 to 2 More about Float https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2272/
10th Mar 2018, 9:18 PM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
0
Thank you so much for the information provided to me
11th Mar 2018, 12:21 PM
mark hoskins
mark hoskins - avatar