asin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
(25 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|A]]
{{Command|Comments=
[[Category:Scripting Commands OFP 1.97|A]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|A]]
[[Category:Scripting Commands ArmA|A]]


| ofp |Game name=


<h2 style="color:#000066">'''asin ''x'''''</h2>
|1.00|Game version=
____________________________________________________________________________________________


| Arcsine of a number, result in [[Number#Degrees|Degrees]]. |DESCRIPTION=
____________________________________________________________________________________________


'''Operand types:'''
| [[Number]] <nowiki>=</nowiki> '''asin''' x |SYNTAX=


'''x:''' [[Number]]
|p1= x: [[Number]] |PARAMETER1=


'''Type of returned value:'''
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <pre>_degrees=asin 0.5</pre>


[[Number]]
returns 30 |EXAMPLE1=
____________________________________________________________________________________________


'''Description:'''
| [[Math Commands]]  |SEEALSO=


Arcsine of '''x''', result in degrees.
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Example:'''
<!-- Note Section END -->
</dl>


_angle = '''asin''' 0.5 ..........Result is 30
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|ASIN]]
[[Category:Scripting Commands OFP 1.99|ASIN]]
[[Category:Scripting Commands OFP 1.96|ASIN]]
[[Category:Scripting Commands OFP 1.46|ASIN]]
[[Category:Scripting Commands ArmA|ASIN]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 00:36, 10 January 2020

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_degrees=asin 0.5
returns 30

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