atan: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(diagram / see also)
Line 14: Line 14:
|p1= x: [[Number]] |= Parameter 1
|p1= x: [[Number]] |= Parameter 1


| [[Number]] |= Return value
| [[Number]]
 
<br><br>[[Image:atan.jpg|200px]]|= Return value  
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_degrees=atan 1</pre>
|x1= <code>_degrees = [[atan]] 1; //45</code>|= Example 1
 
returns 45 |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Math Commands]] |= See also
| [[atan2]], [[Math Commands]] |= See also


}}
}}

Revision as of 13:28, 15 June 2014

Hover & click on the images for description

Description

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

Syntax

Syntax:
Number = 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