From: matz@... (Yukihiro Matsumoto) Date: 2001-12-02T23:08:19+09:00 Subject: [ruby-talk:27274] Re: Any build-in method for decimal to hexadecimal conversion? Hi, In message "[ruby-talk:27257] Any build-in method for decimal to hexadecimal conversion?" on 01/12/02, E Chelon writes: |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 In 1.7.x, you can do it by 10.to_s(16) => "a" matz.