Actions
Bug #4035
closedformat() の %a 指定子で幅指定が正しく機能しないことがある
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-11-07 trunk 29711) [i686-linux]
Backport:
Description
=begin
format() の %a 指定子で幅指定が正しく機能しないことがある。
format('%#10.0f', -0.5).tap{|x| p x.size}
11
#=> " -0."
=end
Updated by tadf (tadayoshi funaba) over 13 years ago
=begin
%a ではなく、%f でした。
=end
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r29719.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0Like0