From: Yukihiro Matsumoto Date: 2008-05-21T17:14:09+09:00 Subject: Re: Why doesn't Float() work the same as Integer()? Hi, In message "Re: Why doesn't Float() work the same as Integer()?" on Tue, 20 May 2008 11:30:12 +0900, "Eric I." writes: |First, Float() and Integer() work like Ruby itself. In Ruby code you |can hardcode integer literals using 17 (dec), 021 (oct), or 0x11 |(hex). But you can only hardcode floating point literals using base |ten. Admittedly, that's a bit of a punt since you'll probably ask why |Ruby works that way. Because most of us would have hard time to guess how much 0x11.4 is. Besides that, I don't see any usecase for converting hexadecimal (integer) representation directly into float values. matz.