From: Rob Marshall Date: 2011-12-09T02:32:45+09:00 Subject: Re: Confusing results from string multiplication Well, I do, at least to some degree, understand what's happening. I still find it a bit confusing that, in this case, '11.to_s *2' means: convert 11 to binary and then to a string, when: '11.to_s*2' means: convert 11 to a string and then multiply the string times two. To be consistent, they should both do the same thing. Especially since '11.to_s(2)' seems "clearer" in that I'm saying the base of the string needs to be '2', whereas having '*2' do the same thing, but less "clearly", seems odd to me. Not that any of this really matters. It just threw me off. :-) Rob -- Posted via http://www.ruby-forum.com/.