Course Recommendation:
x = float(5)
Definition and Usage
float() converts the specified value to a float.
Syntaxvaluefloat(
)
Parameter | Description |
---|---|
value | Numbers or strings that can be converted to a float. |
Definition and Usage
Syntaxvaluefloat(
Parameter | Description |
---|---|
value | Numbers or strings that can be converted to a float. |