in reply to RE: RE: decimal to binary
in thread decimal to binary
Ouch. Your bin2dec is doing absolutely nothing but making sure it's an integer.
Ehh.. but it does the job in question, right? Converting a supplied binary number to decimal.
update: OK, maybe that's not the definition of "decimal". Everyone happy if we rename the sub to bin2int? :)
|
---|