From: Shandy Nantz Date: 2007-12-11T03:53:59+09:00 Subject: Re: Hex to decimals Ilan Berci wrote: > Shandy Nantz wrote: >> Any suggestions on how to convert a Hex value to its decimal equivalent? >> Have been coming up blank on this one. Thanks, >> >> -S > > '0xf'.hex > => 15 what about a base64 to a decimal? I have seen some examples using pack and unpack but I'm not sure what they do? Thanks, -S -- Posted via http://www.ruby-forum.com/.