SQL ATAN Function

The ATAN function returns the arc tangent of a value.

The value returned is an angle measured in radians.

Example

#

This example returns the arc tangent of the input values.

  SELECT ATAN(-45.01) AS '-45.01',
         ATAN(0) AS '0',
         ATAN(197.1099392) AS '197.1099392'
Result:  1 record
-45.01 0 197.1099392
-1.54858269620627 0 1.54858269620627

Syntax

Syntax of the ATAN function.

ATAN(value)

value -- a number or column name.


You may also like



Guides


vsn 3.1