What is a Float in Python? Float is a type of variable present in all programming languages that it´s used to store real numbers with fractions (or floating point numbers). Based on this, we can differentiate in it's composition an Integer type number separated by a (dot) from the fractional parts. It´s represented as a 64 bit double presicion value being it´s maximum value 1.8 10<sup 308</sup . If the number falls from the limit stablished, it'll return a String with as value. Syntax The syntax is quite simple and straight forward. Float() will accept any value (inside it's limit), , or and return the floating point value if possible. Using float() with different types of data Passing a to float() Passing a directly to float() Passing a directly to float() Passing a to float() Passing a to float() Passing a type to float() Booleans can have 2 possible values, 1 for and 0 for , that´s why if received float() returns 1.0 Passing to float() Passing to float() Passing a to float() Passing a to float() To take a look at our Courses in . Hope you enjoyed the reading and keep on the Geek side!