From: gminick Date: 2002-11-15T02:05:32+09:00 Subject: Re: Integer to Hex On Fri, Nov 15, 2002 at 01:50:58AM +0900, Shaun Smith wrote: > Is there an easy way to get from an Integer to a hex representation (i.e. > the opposite of String#hex)? % irb >>> printf("%x\n", 10) a nil >>> _ -- [ Wojtek gminick Walczak ][ http://gminick.linuxsecurity.pl/ ] [ gminick (at) hacker.pl ][ gminick (at) underground.org.pl ]