search for: aa7c6cb1

Displaying 1 result from an estimated 1 matches for "aa7c6cb1".

Did you mean: 7a7cecb1
2006 Jul 20
3
[OT Ruby] Displaying a binary ?
How to I display the binary equivalent of a number? I tried this: b = 0b1101 puts b # returns decimal value ( 13 ) b.to_bn # generates "unable to convert FIXNUM to STRING.." error. -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson -------------- next part -------------- An HTML attachment was scrubbed...