change string to int kotlin code example Example: kotlin string to int val myStringNumber: String = "100"; val number: Int = myStringNumber.toInt()