From: Robert Klemme Date: 2008-04-29T18:22:13+09:00 Subject: Re: Sprintf: what does mean the percent symbol? 2008/4/29 7stud -- : > Robert Klemme wrote: > > it's a float format and not a string format. > > > >> Or > >> > >> "%.3f" % "1.2345" > >> => "1.234" > > > > Same here: > > > > "%.3f" % 1.2345 > > > > According to pickaxe2, p. 606, "%" is the name of an instance method in > the String class, and its syntax is: > > str % arg > > The return value is a string. I'm not sure I get your point. Can you elaborate? Kind regards robert -- use.inject do |as, often| as.you_can - without end