6.1.2.10.1.2 Atn

Function Declaration

 Function Atn(Number As Double) As Double  

Parameter

Description

Number

Double containing any valid numeric expression.

Runtime Semantics.

§ Returns a Double specifying the arctangent of a number.

§ The Atn function takes the ratio of two sides of a right triangle (Number) and returns the corresponding angle in radians. The ratio is the length of the side opposite the angle divided by the length of the side adjacent to the angle.

§ The range of the result is -pi/2 to pi/2 radians.