hi every1, I got the following issue: I wrote a function that converts binary strings into a decimal value (binary expansion). When I write type(x) 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)? cheers, Alex
Am 16.01.11 09:24, schrieb Alex Ter-Sarkissov:
hi every1,
I got the following issue: I wrote a function that converts binary strings into a decimal value (binary expansion). When I write
type(x)
to find out the type of the value I get NoneType. Therefore I can't
Your function most probably returns None. Show us your code and we will able to help. Regards, Christian
participants (2)
-
Alex Ter-Sarkissov -
Christian K.