API Reference

Returns a string of a number and appends a leading zero to single digit numbers.

function doubleDigit(n: number)

// Example:

doubleDigit(9) //=> "09"

doubleDigit(15) //=> "15"