# DEGREES

**The function DEGREES converts radians into degrees.**

This function takes a single [Number](../../variable-data-types/the-number-variable-data-type) as input. It parses that Number as an angle in radians and returns another Number: the equivalent angle in degrees.&#x20;

#### Declaration

```javascript
DEGREES(number) -> degrees
```

&#x20;

#### Parameters

**number** (required, type: _number_) A number specifying an angle in degrees.

#### Return Values

**degrees** (type: _number_) The number of radians corresponding to the angle that was given in degrees.

#### Examples

The following example converts two radians into the equivalent number of degrees:

```javascript
DEGREES(2) -> 114.59155902616465
```

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 express radians as multiples of pi. (Many "neat" angles are expressed nicely as multiples of pi – the quarter turn, 90°, is 0.5π radians, and a complete rotation, 360°, is 2π radians.) The following example converts 2π radians – expressed by multiplying two by the output of the [PI](pi) function – into the equivalent number of degrees:

```javascript
DEGREES(2*PI()) -> 360
```
