Python float() Function
Definition and Usage
The float()
function converts the specified
value into a floating point number.
Syntax
float(value)
Parameter Values
Parameter | Description |
---|---|
value | A number or a string that can be converted into a floating point number |
More Examples
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.