#663: Kernel#sprintf formatting broken on trunk -------------------------------------+-------------------------------------- Reporter: jordan.breed...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Keywords: -------------------------------------+-------------------------------------- {{{ 11 jor...@thetourist ~ > rvm use system Now using system ruby. 12 jor...@thetourist ~ > ruby -e 'puts("%.2f" % [5.fdiv(3)]); puts("%6.2f" % [5.fdiv(3)]);' 1.67 1.67 13 jor...@thetourist ~ > rvm use ruby-1.9.1 Using ruby 1.9.1 p378 14 jor...@thetourist ~ > ruby -e 'puts("%.2f" % [5.fdiv(3)]); puts("%6.2f" % [5.fdiv(3)]);' 1.67 1.67 15 jor...@thetourist ~ > macruby -e 'puts("%.2f" % [5.fdiv(3)]); puts("%6.2f" % [5.fdiv(3)]);' 1.67 1.666667 16 jor...@thetourist ~ > macruby -e 'p RUBY_VERSION' "1.9.0" 17 jor...@thetourist ~ > macruby -e 'p MACRUBY_VERSION' "0.6" 18 jor...@thetourist ~ > macruby -e 'p MACRUBY_REVISION' "git commit c4dbbe33596e9fe150ddcc0ac1b253c566191ba4" }}}
-- Ticket URL: <http://www.macruby.org/trac/ticket/663> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel