Returns the arc tangent of a numeric value as DOUBLE value. Returns NULL if numValue is NULL. Returns an error if numValue is less than 0 or greater than 1.

Syntax

ATAN(numValue)

Arguments

numValue: Any of the supported numeric data types.

Examples

SELECT numberCol, ATAN(numberCol) AS numberColATAN FROM MYSQL.inventory.cust;

-- ATAN(1)
-- Returns 0.785398163397448