Converts an angle from degrees to radians.
Angle in degrees (finite number).
Equivalent angle in radians.
toRadians(180); // Math.PItoRadians(90); // Math.PI / 2 Copy
toRadians(180); // Math.PItoRadians(90); // Math.PI / 2
If the input is not a finite number.
1.2.0
Converts an angle from degrees to radians.