Bug #2144: Split functionality of Float#inspect and Float#to_s http://redmine.ruby-lang.org/issues/show/2144 Author: Roger Pack Status: Open, Priority: Normal Target version: 1.9.2 ruby -v: ruby 1.9.2dev (2009-09-26 trunk 25103) [i386-mingw32] Currently the Float#to_s and Float#inspect return an "accurate" representation of the internal float, to help alert users of floating point inconsistencies. This is better than the old way, however some have pointed out that the old functionality has been lost [the old "pretty float" style]. In order to have 1.9.2 add functionality and not also lose the old functionality, this is a proposal to make String#to_s the pretty way and String#inspect Show the accurate way. Then in irb users are notified of inaccuracies, and it's also more backward compatible. I'd be ok with the two going the other way, too--just as long as there's both available somewhere. Thanks! -r ---------------------------------------- http://redmine.ruby-lang.org