atan: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "[[Image:" to "[[File:")
 
(One intermediate revision 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]]
Line 32: Line 32:
|p1= x: [[Number]]
|p1= x: [[Number]]


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


|x1= <sqf>_degrees = atan 1; // 45</sqf>
|x1= <sqf>_degrees = atan 1; // 45</sqf>

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