From: Zev Blut Date: 2005-04-07T01:25:20+09:00 Subject: Getting a hex representation for a Numeric Hello, I was disappointed to find that there is not an instance method for Numeric that lets you convert the value to a hexadecimal string. Luckily, sprintf comes to the rescue to do this! Can I propose to add something like this to the standard library? ---------------------------------------------------------------------- class Numeric def hex sprintf("%X",self) end end ---------------------------------------------------------------------- Or is there already a method that I missed? Thanks, Zev