how to change a string to int in kotlin code example
Example 1: kotlin string to int
val myStringNumber: String = "100";
val number: Int = myStringNumber.toInt()
Example 2: parse an int in kotlin
val int = text.toInt()
val myStringNumber: String = "100";
val number: Int = myStringNumber.toInt()
val int = text.toInt()