Hi,
In message "Re: [ruby-core:23181] Re: [Bug #1336] Change in string representation of Floats"
on Sun, 12 Apr 2009 03:53:12 +0900, Brent Roman <brent / mbari.org> writes:
|I'd prefer that Float#to_s => rounded, Float#inspect => non rounded
|(i.e. 0.9.inspect => "0.8999999999")
I see several people who prefer that way. Could you elaborate the
reason behind the preference? Considering being to_s for mere string
representation, and inspect being human readable string
representation, I thought other way around.
matz.