title: How do I set the text of an EditText to an Int?
body: <p>In an attempt to set an <code>EditText</code> to an <code>Int</code> value, I've tried various ways of converting the <code>Int</code> to a value that the <code>EditText</code> will accept, but all fail:</p>
  
  <pre><code>   processButton.setOnClickListener {
          var intNo = inputText.text as Int
          intNo *= 2
          outputText.text = intNo as String       // error = "required editable"
          outputText.text = intNo.toString()      // err: type mismatch 
          outputText.text = Int.toString(intNo)   // type mismatch reqd editable
          outputText.text = "What is going on?"   // type mismatch reqd editable
      }
  </code></pre>
  
  <p>How can I set the <code>EditText</code> to an <code>Int</code> value?</p>