Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function paddedString

    • Return a string front-padded by zeroes to reach a certain number of numeral characters

      Parameters

      • this: number
      • digits: number

        The number of characters desired

      Returns string

      The zero-padded number