MySQL ATAN2() Function

Clash Royale CLAN TAG#URR8PPP
<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]-->
MySQL ATAN2() Function
❮ MySQL Functions
Example
Return the arc tangent of two values:
SELECT ATAN2(0.50, 1);Try it Yourself »
Definition and Usage
The ATAN2() function returns the arc tangent of two numbers.
Syntax
ATAN2(a, b)Parameter Values
| Parameter | Description |
|---|---|
| a, b | Required. Two numeric values to calculate the arc tangent of |
Technical Details
| Works in: | From MySQL 4.0 |
|---|
More Examples
Example
Return the arc tangent of two values:
SELECT ATAN2(-0.8, 2);Try it Yourself »
❮ MySQL Functions