Navigation:  NexusDB Guide > SQL Reference > SQL Functions > Numeric Value Functions >

Arctangent Function

Previous pageReturn to chapter overviewNext page

NexusDB V3 Manual

Arctangent Function

button_main button_prev button_next

NexusDB Manual V3 > SQL Reference > SQL Functions > Numeric Value Functions

Syntax

 

<arctangent function> ::=

 

 

|

 

ATAN ( <numeric value expression> )

{ ATN2 | ATAN2 } ( <numeric value expression> , <numeric value expression> )

 

Notes

 

§

The ATAN function returns the angle in radians, whose tangent is the value of the argument.

 

§

The ATAN2 function returns the angle in radians, whose tangent is between the values of the two arguments.

 

§

The data type of the result is DOUBLE PRECISION.

 

§

If either of the arguments are null, then the result is null.

 

 

Examples

 

 

Expression

 

 

Result

 

ATAN( 2.75 )

1.222025..

ATAN2( 2.75, 7.3525 )

0.357913..

 


Conformance

 

NexusDB extensions

-

-

ATAN function

ATAN2 function

 

© Nexus Database Systems Pty Ltd.

nexus_logo