scala> val foo = "1"; foo.toInt
val foo: String = "1"
val res0: Int = 1
