Skip to main content

CommonParseInt

Callable

  • CommonParseInt(val: string, radix?: number): number

  • Parses a string into an integer


    Parameters

    • val: string

      The string to parse into a number

    • radix: number = null

      A value between 2 and 36 that specifies the base of the number in the string. Defaults to 10 if not provided

    Returns number