ATAN
The angle, in radians, whose tangent is a number.
Group: Math. Compatible with DAX.
Syntax
ATAN ( <number> )
| Parameter | Type | Description |
|---|---|---|
number | Number | Any number, read as a tangent. |
Returns
Number. The angle in radians, between -pi / 2 and pi / 2.
Remarks
- Any number has an angle: the larger the number, the closer the angle comes to pi / 2.
- A blank gives BLANK.
- For the angle in degrees, wrap it in
DEGREES:DEGREES ( ATAN ( 1 ) )is 45.
Examples
Angles from tangents
EVALUATE
ROW (
"Of 1", ATAN ( 1 ),
"In degrees", DEGREES ( ATAN ( 1 ) ),
"Of -1", ATAN ( -1 ),
"Of 1E9", ATAN ( 1E9 )
)
| Of 1 | In degrees | Of -1 | Of 1E9 |
|---|---|---|---|
| 0.785398163397448 | 45 | -0.785398163397448 | 1.5707963257949 |