Ticket #663 (closed defect: fixed)
Kernel#sprintf formatting broken on trunk
| Reported by: | jordan.breeding@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.7 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
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"
Change History
Note: See
TracTickets for help on using
tickets.

