'a' x 3 => 'aaa' 'a' x 3*2 => 'aaa' * 2 ==> error You can never combine the math operators with strings (unless the string happens to be a number) ex: '2' x 3*2 = 222*2 => 444, but that's a pretty unclear way to multiply 222 by 2.