for following version:
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0]


irb(main):002:0> sprintf("%.1f",-1.05)
=> "-1.1"
irb(main):003:0> sprintf("%.1f",-32.05)
=> "-32.0"

note the inconsistent rounding.

-1.05 rounds to -1.1
and
-32.50 rounds to -32.0

from  sprintf
-- 
Posted via http://www.ruby-forum.com/.