The function RADIANS converts degrees into radians.
This function takes as single Number as input. It parses that number as an angle in degrees and returns another Number: the equivalent angle in radians.
Declaration
RADIANS(number) -> radians
Parameters
number (required, type: number)
A number specifying an angle in degrees.
Return Values
radians (type: number)
The number of radians corresponding to the angle that was given in degrees.
Examples
The following example converts ninety degrees into the equivalent number of radians:
RADIANS(90) -> 1.5707963267948966
As a unit, the radian is derived from the ratio of the arc length to the radius of a circle, and thus it often makes sense to consider radians as multiples of pi. Many "neat" angles are expressed nicely as multiples of pi. For example, the output of the above example could be rewritten as 0.5π radians. To demonstrate this, the follow example converts ninety degrees into the equivalent number of radians and divides the resulting number by the output of the PI function:
RADIANS(90)/PI() -> 0.5