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