From: Mark Probert Date: 2004-05-07T00:31:43+09:00 Subject: Working in hex ------_=_NextPart_001_01C4337F.3888FC42 Content-Type: text/plain Hello, rubyists. I need to do the following: val = 0xe8b8 + (4 * 110).hex = 0xe8b8 + 1b8 = 0xea70 Is there an easy way in Ruby of doing this? I need to have the result in hex. -mark. ------_=_NextPart_001_01C4337F.3888FC42--