• Calculates the perimeter of a regular polygon.

    Parameters

    • n: number

      The number of sides

    • s: number

      The side length

    Returns number

Generated using TypeDoc