- str2float(value)¶
Parse a string into a float value.
This is just an alias for
float.- Parameters:
value (
str) – The float string value to parse.- Raises:
ValueError – If the string cannot be converted to a float.
- Return type:
float- Returns:
The parsed float value.