Hello everyone,

I’m really missing a useful function in Kotlin. Right now the only way to convert an Int to a List of Digits (Int) is to create a method or use toString which is rather ugly.

Could you provide a function for the Int class which converts a number to its digits via modulo 10 and dividing by 10?

Thanks