string:to_float("3/2=1.5") code example
Example: string to float python
# Use the function float() to turn a string into a float
string = '123.456'
number = float(string)
number
# Output:
# 123.456
# Use the function float() to turn a string into a float
string = '123.456'
number = float(string)
number
# Output:
# 123.456