Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
Text lesson

ATAN2

Example

Calculate the arc tangent of two values:

SELECT ATAN2(0.501); 

Definition and Usage

The ATAN2() function yields the arctangent of two numerical inputs.

Syntax

ATAN2(a, b)

Parameter Values

Parameter

Description

a, b

Mandatory: Two numerical values needed for computing the arctangent.

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Compute and provide the arctangent of two given values.

SELECT ATAN2(0.82);