# radsToDegrees

Canonical: https://www.wiki.jodisand.me/snippets/javascript/radstodegrees/


Converts an angle from radians to degrees.

- Use `Math.PI` and the radian to degree formula to convert the angle from radians to degrees.

```js
const radsToDegrees = rad => (rad * 180.0) / Math.PI;
```

```js
radsToDegrees(Math.PI / 2); // 90
```


