ATAN2 function

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

Syntax

Read syntax diagramSkip visual syntax diagramATAN2 (OppositeNumericExpression,BaseNumericExpression )

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