Radians function
Syntax
Radians(angle)
Description
Use the Radians function to convert the given angle from degree measurement to radian measurement.
Parameters
| Parameter | Description |
|---|---|
|
angle |
The size of an angle in degrees. |
Returns
The size of the given angle in radians.
Example
The following example returns the equivalent size in radians of an angle measuring 65.5 degrees:
&RADIAN_SIZE = Radians(65.5);
The following example returns the value of pi, that is, 180 degrees expressed as radians:
&PI = Radians(180);
Note:
This example represents pi with a high degree of accuracy, but no computer system can represent irrational numbers exactly. Thus, the results of extended calculations based on pi have the potential for a cumulative reduction in precision.