### Atn (number)

Basic and Crystal syntax.

##### Argument

Number value

##### 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

The following example is applicable to both Basic and Crystal syntax:

`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

- This function is designed to work like the Visual Basic function of the same name.
- The range of values returned by Atn is between -pi/2 and pi/2 radians.

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com