Description
Atn returns a Number specifying the arctangent of the given Number argument.
Returns
Number value which is an angle specified in number of radians
Action
Atn returns a Number specifying the arctangent of the given Number argument. In other words, it returns the angle whose tangent is the given Number argument.
Example
Atn (1)
Returns an angle of 0.7854 radians (rounded to 4 radians). To convert this angle to degrees, multiply by 180 / crPi. For instance, Atn (1) * 180 / crPi is 45 degrees.
Comments
The range of values returned by Atn is between –pi/2 and pi/2 radians.