kotlin string can converted to int? code example Example: parse an int in kotlin val int = text.toInt()