From: Nathaniel Talbott Date: 2005-04-07T02:12:40+09:00 Subject: Re: Getting a hex representation for a Numeric On Apr 6, 2005 12:25 PM, Zev Blut wrote: > I was disappointed to find that there is not an instance method for > Numeric that lets you convert the value to a hexadecimal string. ... > Or is there already a method that I missed? Try: irb(main):002:0> 42.to_s(16) => "2a" HTH, -- Nathaniel <:((><