Hi all,

I want to read in a file that has hex numbers, which are stored with
the "0x" hex prefix (i.e. 0x12345678).  Is there a built in function
that will do the conversion, similiar to "to_i", for hex numbers?

Also... is there something also for binary?  Octal?  

Thanks,

- Khurram