dbremner / rubydotnetcompiler

Automatically exported from code.google.com/p/rubydotnetcompiler
0 stars 0 forks source link

'%2.0f' % 1 should return ' 1', not '1.' #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The %f sprintf format is broken in general. I'm working on a fix.

Original issue reported on code.google.com by sason...@gmail.com on 22 Oct 2007 at 10:37

GoogleCodeExporter commented 8 years ago

Original comment by sason...@gmail.com on 22 Oct 2007 at 10:38

GoogleCodeExporter commented 8 years ago
Fix attached. It's still missing the test; if anybody wants to write one, that 
would
be awesome (a patch submission for RSpec would be even nicer).

Original comment by sason...@gmail.com on 22 Oct 2007 at 1:54

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed (with tests) in r148.

Original comment by sason...@gmail.com on 25 Oct 2007 at 4:22