Maths_radiansToDegrees.js

/**
 * Converts a given radian value to degrees
 * 
 * @example
 * radiansToDegrees(1.58) // returns: 90.52733163067008
 * radiansToDegrees(2.5) // returns: 143.2394487827058
 * 
 * @param {number} r - The radian value to be converted to degrees
 * @returns {number} The converted radian value in degrees
 * 
 * @function radiansToDegrees
 * @memberof Maths
 */
export function radiansToDegrees(r) { return r * (180 / Math.PI); }