A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/Math/atan2 below:

atan2 ยท WebPlatform Docs

atan2 Summary

Returns the angle (in radians) from the X axis to a point ( y , x ).

Syntax
Math.atan2( y , x )
x
Required. A numeric expression representing the cartesian x-coordinate.
y
Required. A numeric expression representing the cartesian y-coordinate.
Examples
var v1 = Math.atan2(2,3);
document.write(v1);

Remarks

The return value is between -pi and pi. It represents the angle of the supplied ( y , x ) point, in radians.

Applies To : Math Object

See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4