# degrees

To convert an angle from radians to degrees

The function returns the corresponding degree value of a **radian**. It is mostly used for trigonometric calculations.

Syntax

degrees(number)

Return

number

Examples

`degrees(x)`

To convert angle x from radians to degrees.

`degrees(3.141592653589793) `

**Result:** 180

See also

`radians`

, which converts an angle from degrees to radians.