Bug #4034: format() ??? %a ???絎?絖???с?筝??????絽吾??倶?劫??????c??????
http://redmine.ruby-lang.org/issues/show/4034

起票???: tadayoshi funaba
??鴻????若?帥??: Open, ????綺?: Normal
ruby -v: ruby 1.9.3dev (2010-11-07 trunk 29711) [i686-linux]

format() ??? %a ???絎?絖???с?筝??????絽吾??倶?劫??????c?????????

format('%.0a', Float('0x1.fp+1'))  #=> "0x1.p+1"
format('%.1a', Float('-0x1.ffp+1')) #=> "-0x1.fp+1"

????????? %f ????с?筝?????????????????????障?????

format('%.0f', 2.9) #=> "3"
format('%.1f', -2.99) #=> "-3.0"


----------------------------------------
http://redmine.ruby-lang.org