atan function (Databricks SQL)

Returns the inverse tangent (arctangent) of expr.

Syntax

atan(expr)

Arguments

  • expr: An expression that evaluates to a numeric.

Returns

A DOUBLE.

Examples

> SELECT atan(0);
 0.0