Function radToDeg

  • Converts an angle in radians to an angle in degrees.

    Parameters

    • radians: number

      angle in radians

    Returns number

    corresponding angle in degrees

    // convert a specific angle
    math.radToDeg(1.0471975511965976); // return 60