toString

fun Int.toString(appendZeroIfSingleDigit: Boolean): String

Returns a string with a zero appended at the beginning if the integer isSingleDigit and also appendZeroIfSingleDigit is set to true. Else it returns the default Int.toString.