MCPcopy Index your code
hub / github.com/plotly/plotly.js / deg2rad

Function deg2rad

src/lib/angles.js:10–10  ·  view source on GitHub ↗
(deg)

Source from the content-addressed store, hash-verified

8var twoPI = 2 * PI;
9
10function deg2rad(deg) { return deg / 180 * PI; }
11
12function rad2deg(rad) { return rad / PI * 180; }
13

Callers 4

toRadiansFunction · 0.85
setConvertAngularFunction · 0.85
polar.jsFile · 0.85
computeSectorBBoxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…