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

What does float command does

6th Mar 2018, 8:30 PM
Dragon ball Super
Dragon ball Super - avatar
3 Answers
+ 1
what if their is written float is written before code what does it does
6th Mar 2018, 8:41 PM
Dragon ball Super
Dragon ball Super - avatar
+ 1
are you talking about float()?? if yes it is used to convert integer data type into a float data type e.g: x= float(10) # x now is 10.0
6th Mar 2018, 9:35 PM
JustCodeMore
JustCodeMore - avatar
+ 1
ok I got it thankyou
6th Mar 2018, 9:38 PM
Dragon ball Super
Dragon ball Super - avatar