From: Ryan Lewis Date: 2008-05-30T20:34:53+09:00 Subject: Re: How do you convert a hexadecimal number to a binary numb Bob Sanders wrote: > I can't find a clue how to convert a hexadecimal number to a binary > number. Anyone know? From http://www.tek-tips.com/viewthread.cfm?qid=1026407&page=1 > You have to convert items using methods such as String#to_i(base=10) > and Fixnum#to_s(base=10). These would be for decimal values. Change > to (base=16) for hexadecimal values, (base=2) for binary values, etc. -- Posted via http://www.ruby-forum.com/.