| title | Python float() built-in function - Python Cheatsheet |
|---|---|
| description | Return a floating point number constructed from a number or string x. |
>>> float('10')
# 10.0
>>> float(10)
# 10.0| title | Python float() built-in function - Python Cheatsheet |
|---|---|
| description | Return a floating point number constructed from a number or string x. |
>>> float('10')
# 10.0
>>> float(10)
# 10.0