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

    Function fromString

    • Attempt to create a number from a user-provided string.

      Parameters

      • n: string | number

        The value to convert; typically a string, but may already be a number.

      Returns number

      The number that the string represents, or NaN if no number could be determined.