That is brilliant! Thank you, Jon! Of all the good suggestions posted, I like this one best. You guys all rock! Thanks so much for the responses. Cheers! Paul. =) On Mar 15, 6:22 pm, Jon Garvin wrote: > rawfields.map { |f| f.to_f.to_s == f ? "%0.2f" % f.to_f : f } > => ["5.67", "0", "3.57", "1.38", "6", "0", "Foo"] >