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