Skip to content
Reference > Methods

atan(value)

Definition

Double atan(Number value)

Description

Returns a Double that is the arc tangent of a value; the returned angle is expressed in radians in the range of -pi/2 to pi/2.

Parameter Definition

Name Type Description
value Number Input value

Examples

Double r1 = atan(1); // r1 == 0.7853981633974483