atg: 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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
Line 32: Line 32:
|p1= x: [[Number]]
|p1= x: [[Number]]


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


|x1= <sqf>_atanThreeFifth = atg 3/5;</sqf>
|x1= <sqf>_atanThreeFifth = atg 3/5;</sqf>

Revision as of 16:47, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns the arcus tangens.

atan.jpg
Alias:
atan
Groups:
Math - Geometry

Syntax

Syntax:
atg x
Parameters:
x: Number
Return Value:
Number - result in degrees

Examples

Example 1:
_atanThreeFifth = atg 3/5;

Additional Information

See also:
atan

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