Choose where you’d like to start

degrees

Overview

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

Return Type

  • DECIMAL

Syntax

<variable> = <radians_value>.degrees();

(OR)

<variable> = degrees(<radians_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_in_radians = 6.283185307179586 ;
 info angle_in_radians.degrees(); // Returns 360

Get Started Now

Execute