acos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (bah!)
m (template:command argument fix)
(13 intermediate revisions by 8 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Arccosine of a number, result in [[Number#Degrees|Degrees]]|= Description
| ArcCosine of a number, result in [[Number#Degrees|Degrees]]|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


|  [[Number#Degrees|Degrees]] <nowiki>=</nowiki> '''acos''' [[Number]] |= Syntax
|  [[Number]] <nowiki>=</nowiki> '''acos''' x |SYNTAX=


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


| [[Number#Degrees|Degrees]]: [[Number]] |= Return value
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_degrees = acos 0.6</pre>
|x1= <code>_degrees = [[acos]] 0.5</code>


returns 60 |= Example 1
returns 60 |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[cos]], [[sin]], [[asin]] |= See also
| [[Math Commands]] |SEEALSO=


}}
}}
Line 36: Line 36:


[[Category:Scripting Commands|ACOS]]
[[Category:Scripting Commands|ACOS]]
[[Category:Scripting Commands OFP 1.99|ACOS]]
[[Category:Scripting Commands OFP 1.96|ACOS]]
[[Category:Scripting Commands OFP 1.96|ACOS]]
[[Category:Scripting Commands OFP 1.46|ACOS]]
[[Category:Scripting Commands OFP 1.46|ACOS]]
[[Category:Scripting Commands ArmA|ACOS]]
[[Category:Scripting Commands ArmA|ACOS]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:23, 7 April 2019

Hover & click on the images for description

Description

Description:
ArcCosine of a number, result in Degrees
Groups:
Uncategorised

Syntax

Syntax:
Number = acos x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_degrees = acos 0.5 returns 60

Additional Information

See also:
Math 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