Skip to content

to_float

to_float

to_float(x: Any) -> float

Convert the value into a floating point defined by the library.

Parameters:

Name Type Description Default
x Any

value to convert.

required

Returns:

Type Description
float

converted value