[MacRuby-devel] [MacRuby] #663: Kernel#sprintf formatting broken on trunk
MacRuby
ruby-noreply at macosforge.org
Thu Apr 22 05:30:26 PDT 2010
#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 at thetourist ~ > rvm use system
Now using system ruby.
12 jordan at thetourist ~ > ruby -e 'puts("%.2f" % [5.fdiv(3)]); puts("%6.2f"
% [5.fdiv(3)]);'
1.67
1.67
13 jordan at thetourist ~ > rvm use ruby-1.9.1
Using ruby 1.9.1 p378
14 jordan at thetourist ~ > ruby -e 'puts("%.2f" % [5.fdiv(3)]); puts("%6.2f"
% [5.fdiv(3)]);'
1.67
1.67
15 jordan at thetourist ~ > macruby -e 'puts("%.2f" % [5.fdiv(3)]);
puts("%6.2f" % [5.fdiv(3)]);'
1.67
1.666667
16 jordan at thetourist ~ > macruby -e 'p RUBY_VERSION'
"1.9.0"
17 jordan at thetourist ~ > macruby -e 'p MACRUBY_VERSION'
"0.6"
18 jordan at thetourist ~ > macruby -e 'p MACRUBY_REVISION'
"git commit c4dbbe33596e9fe150ddcc0ac1b253c566191ba4"
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/663>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list