From: e_chelon@... (E Chelon) Date: 2001-12-02T17:59:41+09:00 Subject: [ruby-talk:27257] Any build-in method for decimal to hexadecimal conversion? Hi, I'd like to know if there is any build-in method for convering a decimal value to hexadecimal, please? i.e. the reverse of "0xE".hex => 10 Currently, as an ad hoc solution, I use sprintf("%X", value) which is not that ruby ... Thanks. e_chelon