Choose where you’d like to start

radians

Overview

The radians function takes an angle in degrees as argument, and returns its equivalent radians value.

Return Type

  • DECIMAL

Syntax

<variable> = <degrees_value>.radians();

(OR)

<variable> = radians(<degrees_value>);

where,

ParameterData typeDescription
<variable>DECIMALVariable that will contain the converted radians value.
<degrees_value>DECIMAL/NUMBER

The angle in degrees that needs to be converted into radians format.

Examples

 angle = 90 ;
 
 info angle.radians(); // Returns 1.5707963267948966

Get Started Now

Execute