[MacRuby] #663: Kernel#sprintf formatting broken on trunk

MacRuby ruby-noreply at macosforge.org
Mon Aug 16 10:33:33 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:                       
-------------------------------------+--------------------------------------

Comment(by watson1978@…):

 I did not consider as following x(
 {{{
 $ macruby -e 'puts("%6.02f" % [5.fdiv(3)]);'
 1.67
 $ ruby -e 'puts("%6.02f" % [5.fdiv(3)]);'
   1.67
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/663#comment:3>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list