N/APosted on - 07/10/2011
I was working on a linear regression program, and when I try to convert the input file data to a float, I got this error.
Groove shark error: invalid literal for float (): iii. I'm using Windows XP SP2.
Grooveshark error: invalid literalfor float(): iii
This error is strange to the java script and it Looks like you are trying to convert a string to a float. If the string is E-135, the it is indeed an invalid value to be converted to a float. Perhaps you are chopping off a digit in the beginning of the string and it really ought to be something like 1E-135? That would be a valid float,
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: invalid literal for float(): E-135
In fact, which number is E-135 supposed to represent? 1×10^-135?