Atn

Description

Arctangent function. The arctangent is the angle whose tangent is number.

Returns

The arctangent, in radians, of a number.

Category

Mathematical functions

Function syntax

Atn(number)

See also

Sin ASin CosACosPi

Parameters

Parameter

Description

number

Tangent of an angle

Usage

The range of the result is -p/2 to p/2 radians. To convert degrees to radians, multiply degrees by p/180. To convert radians to degrees, multiply radians by 180/p.

Example

<cfscript>
   number=0.5;
   writeOutput(atn(0.5));  // Returns 0.463647609001
</cfscript>

Example

<cfscript>
   number=0.5;
   writeOutput(atn(0.5));  // Returns 0.463647609001
</cfscript>
Adobe logo

Sign in to your account