# Convert Degrees to Radians And Vice Versa

25/01/2015

```
// degrees -> radians
var radians = degrees * Math.PI / 180;
// radians -> degrees
var degrees = radians * 180 / Math.PI;
```

25/01/2015

```
// degrees -> radians
var radians = degrees * Math.PI / 180;
// radians -> degrees
var degrees = radians * 180 / Math.PI;
```