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 ]