SQL/MX 2.x Reference Manual (G06.24+, H06.03+)

SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual523725-004
9-14
ATAN Function
ATAN Function
The ATAN function returns the arctangent of a numeric value expression as an angle
expressed in radians.
ATAN is an SQL/MX extension.
numeric-expression
is an SQL numeric value expression that specifies the value for the argument of
the ATAN function. See Numeric Value Expressions on page 6-50.
Examples of ATAN
This function returns the value 8.72766423249958400E-001 or approximately
0.8727 in radians (which is 50 degrees):
ATAN (1.192)
This function returns the value 0.8727. The function ATAN is the inverse of the
function TAN.
ATAN (TAN (0.8727))
ATAN (numeric-expression)