### Tan (number)

Basic and Crystal syntax.

##### Argument

Number value that represents an angle in radians.

##### Returns

Number value

##### Action

Tan returns a Number specifying the tangent of an angle given in radians. It takes a right-angle triangle, and returns the length of the side opposite the specified angle divided by the length of the side adjacent to the angle.

##### Examples

The following examples are applicable to both Basic and Crystal syntax:

`Tan (1)`

Returns 1.5574 (rounded to 4 decimals). This is the tangent of 1 radian.

`Tan (45 * crPi / 180)`

Returns 1. This is the tangent of 45 degrees. Before taking the tangent, the angle is converted to radians by multiplying by crPi / 180.

##### Comment

This function is designed to work like the Visual Basic function of the same name.

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