title: Swift cannot invoke '*' with an argument list of type '(Int, Int)'
body: <p>So I was trying to write some basic Swift, and I wrote:</p>
  
  <pre><code>func timesByHundred(d: Int) {
      return d * 100
  }
  </code></pre>
  
  <p>and the compiler said "cannot invoke '*' with an argument list of type '(Int, IntegerLiteralConvertible)'". So I changed it to:</p>
  
  <pre><code>func timesByHundred(d: Int) {
      let e: Int = 100
      return d * e
  }
  </code></pre>
  
  <p>and the compiler said "cannot invoke '*' with an argument list of type '(Int, Int)'". What can I even multiply if not two ints?? There's some similar questions on here but they all have people trying to operate on different types.</p>