rad
Syntax Format
rad(value)
Overview
The rad
function provides the converted value from degrees to radians. This function can be helpful when using the trigonometrical functions, where the majority of values are required to be in radians.
Parameters
Parameter | Type | Purpose |
---|---|---|
value | numeric or series | Input value, taken into calculation |
Returns: numeric
or series
.
Example
value_in_radians = rad(90) -- equals 1.5708 radians