how to cast integer to string in kotlin code example Example: how to cast integer to string in kotlin var num = 10 val strNum = num.toString()