Function toString

Returns a human-friendly string representation (distance, angleDeg). If precision is supplied, this will be the number of significant digits.

  • Parameters

    • p: Coord
    • Optionaldigits: number

    Returns string