atan: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
m (Text replacement - "[[Image:" to "[[File:")
 
(5 intermediate revisions by the same user not shown)
Line 24: Line 24:
|gr1= Math - Geometry
|gr1= Math - Geometry


|descr= Returns the '''arcus tangens'''.<br><br>[[Image:atan.jpg|200px]]
|descr= Returns the '''arcus tangens'''.<br><br>[[File:atan.jpg|200px]]


|alias= [[atg]]
|alias= [[atg]]


|s1= [[atan]]  x
|s1= [[atan]]  x


|p1= x: [[Number]]
|p1= x: [[Number]]


|r1= [[Number]] - Result is in degrees
|r1= [[Number]] - result is in degrees


|x1= <code>_degrees = [[atan]] 1; {{cc|45}}</code>
|x1= <sqf>_degrees = atan 1; // 45</sqf>


|seealso= [[atg]] [[atan2]]
|seealso= [[atg]] [[atan2]]


}}
}}

Latest revision as of 00:11, 21 November 2023

Hover & click on the images for description

Description

Description:
Returns the arcus tangens.

atan.jpg
Alias:
atg
Groups:
Math - Geometry

Syntax

Syntax:
atan x
Parameters:
x: Number
Return Value:
Number - result is in degrees

Examples

Example 1:
_degrees = atan 1; // 45

Additional Information

See also:
atg atan2

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note