leadingZero

fun leadingZero(number: Int, length: Int = 2): String(source)

Stringify a number and add leading zeros

Return

the stringified number

Since

0.3.0

Parameters

number

the number to stringify

length

the length of the string