ATAN2 function

The ATAN2 numeric function returns the angle subtended in a right angled triangle between an opposite and the base.

SYNTAX

The ATAN2 function returns the angle, in radians, subtended (in a right angled triangle) by an opposite given by OppositeNumericExpression and the base given by BaseNumericExpression. The parameters can be any built-in numeric data type. The result is FLOAT unless either parameter is NULL, in which case the result is NULL

Related concepts
ESQL overview
Related tasks
Developing ESQL
Related reference
Syntax diagrams: available types
ESQL numeric functions