Converts an angle from radians to degrees.
Math.PIand the radian to degree formula to convert the angle from radians to degrees.
const radsToDegrees = rad => (rad * 180.0) / Math.PI;
radsToDegrees(Math.PI / 2); // 90
Would you like to help us improve 30 seconds of code?Take a quick survey
Converts an angle from degrees to radians.
Converts a number to an array of digits, removing its sign if necessary.
Converts an integer to its roman numeral representation.
Accepts value between
3999 (both inclusive).