parse an int in kotlin
snippet in kotlin

parse an int in kotlin

user7236

val int = text.toInt()