How to convert a negative number stored as string to a float?
Am getting this error on Python 3.6 and don't know how to get over it.
>>> s = '–1123.04'
>>> float(s)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: could not convert string to float: '–1123.04'