Course
Simulator
More
Premium
Log in
Python Function Reference
Functions
float
float
Return a floating point number constructed from a number or string x.
Python 3.13
1
float
(
x
)
Examples
Python 3.13
1
float
(
'3.14'
)
3.14