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
float
(
x
)
Examples
Python 3.13
>>
>
float
(
'3.14'
)
3.14