From: "Jesús Gabriel y Galán" Date: 2012-07-05T21:37:56+09:00 Subject: Re: Newbie needs help with parsing a file On Thu, Jul 5, 2012 at 1:58 PM, Jon R. wrote: > Ryan this worked beautifully. Thank you. However, I can't seem to get > why all of the % signs are in the line puts "%s %.1f%%" % [vol, pct * > 100] and what does %s mean? They are placeholders. Check http://ruby-doc.org/core-1.9.3/String.html#method-i-25: "this is a string: %s and this is a number: %d" % ["test", 27] => "this is a string: test and this is a number: 27" Jesus.