Javascript Math radians(degrees)

Description

Javascript Math radians(degrees)

// Converts from degrees to radians.
Math.radians = function(degrees) {
 return degrees * Math.PI / 180;
};



PreviousNext

Related