[Numpy-discussion] float conversion

Alex Ter-Sarkissov ater1980 at gmail.com
Sun Jan 16 03:24:26 EST 2011

hi every1,

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...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110116/844e54e6/attachment.html>

More information about the NumPy-Discussion mailing list