[Numpy-discussion] float conversion
ater1980 at gmail.com
Sun Jan 16 03:24:26 EST 2011
I got the following issue: I wrote a function that converts binary strings
into a decimal value (binary expansion). When I write
to find out the type of the value I get NoneType. Therefore I can't convert
it into anything else, such as float numbers, since command float(x) returns
TypeError: float() argument must be a string or a number
Any ideas what to do with this (e.g. convert to floating numbers)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion