Example

Return the arc tangent of a number:

SELECT ATAN(2.5);

Definition and Usage

The ATAN() function returns the arc tangent of one or two numbers.

Syntax

ATAN(number)

OR:

ATAN(a, b)

Parameter Values

Parameter Description
number A numeric value
a, b 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 ATAN(-0.8, 2);


Login
ADS CODE