Name
atan2() — NN 2 IE J2 ECMA 1
Synopsis
atan2(x
,y
)
Returns the angle (in radians) of angle formed by a line to Cartesian point x, y.
Returned Value
Number between -π and π.
Parameters
-
x
Any number.
-
y
Any number.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.