Translate angles from degrees to radians for various values.
System. |
The toRadians()
method converts an angle from degrees to radians.
Tip: To convert from radians to degrees, refer to the toDegrees()
method.
|
Parameter |
Description |
angle |
“Necessary. An angle specified in degrees.” |
Returns: |
“A double value indicating an angle measured in radians.” |
Java Version: |
1.2+ |