Whatever message this page gives is out now! Go check it out!

Atn

Last update:
May 18, 2026

Description

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

Returns

The arctangent, in radians, of a number.

Category

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>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page