Function pad2

  • Pads the given string or number with zeros so it will have at least two characters.

    Parameters

    • data: string | number

      The string or number to pad

    Returns string

    The number padded as a string

Generated using TypeDoc