On Thu, Jul 5, 2012 at 1:58 PM, Jon R. <lists / ruby-forum.com> 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.