atan: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 12: Line 12:
| '''atan''' x |SYNTAX=
| '''atan''' x |SYNTAX=


|p1= x: [[Number]] |= Parameter 1
|p1= x: [[Number]] |PARAMETER1=


| [[Number]]
| [[Number]]
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_degrees = [[atan]] 1; //45</code>|= Example 1
|x1= <code>_degrees = [[atan]] 1; //45</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:28, 7 April 2019

Hover & click on the images for description

Description

Description:
ArcTangent of a number, result in Degrees.
Groups:
Uncategorised

Syntax

Syntax:
atan x
Parameters:
x: Number
Return Value:
Number

atan.jpg

Examples

Example 1:
_degrees = atan 1; //45

Additional Information

See also:
atan2Math Commands

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

Notes

Bottom Section