title: How to do simple type cast in Scala?
body: <p>This should be a silly question.</p>
  
  <pre><code>scala&gt; val aFloat = 1.5f
  aFloat: Float = 1.5
  </code></pre>
  
  <p>How to cast aFloat to an Int in a simple way? </p>
  
  <p>I already know to use <code>a.asInstanceOf[Int]</code>. But it needs too much keystrokes.</p>