ATAN2
Returns the value of the specified expression to the specified power.
Syntax​
ATAN2 ( float_expression , float_expression )
Arguments​
float_expression
Is an expression of type float or of a type that can be implicitly converted to float.
Return Type​
Returns values of type FLOAT64.
Examples​
Examples in this section use the example blockchain.
The following example calculates the ATAN2
for the specified x and y components.
SELECT ATAN2(real, integer) FROM example;
Response:
ATAN2(real, integer) [FLOAT64]
NULL
0
0.7853981633974483
0.7853981633974483