Difference between revisions of "asin"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
 
(22 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|ASIN]]
+
{{Command|Comments=
[[Category:Scripting Commands OFP 1.96|ASIN]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|ASIN]]
+
 
[[Category:Scripting Commands ArmA|ASIN]]
+
| ofp |Game name=
  
 +
|1.00|Game version=
 +
____________________________________________________________________________________________
  
<h2 style="color:#000066">'''asin ''x'''''</h2>
+
| Arcsine of a number, result in [[Number#Degrees|Degrees]]. |DESCRIPTION=
 +
____________________________________________________________________________________________
  
 +
| [[Number]] <nowiki>=</nowiki> '''asin''' x |SYNTAX=
  
'''Operand types:'''
+
|p1= x: [[Number]] |PARAMETER1=
  
'''x:''' [[Number]]
+
| [[Number]] |RETURNVALUE=
 +
____________________________________________________________________________________________
 +
 
 +
|x1= <pre>_degrees=asin 0.5</pre>
  
'''Type of returned value:'''
+
returns 30 |EXAMPLE1=
 +
____________________________________________________________________________________________
  
[[Number]]
+
| [[Math Commands]] |SEEALSO=
  
'''Description:'''
+
}}
  
Arcsine of '''x''', result in degrees.
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
 +
<!-- Note Section END -->
 +
</dl>
  
'''Example:'''
+
<h3 style="display:none">Bottom Section</h3>
  
_angle = '''asin''' 0.5 ..........Result is 30
+
[[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 ArmA2|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 00:23, 31 August 2019

Introduced with Operation Flashpoint version1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Arcsine of a number, result in Degrees.

Syntax

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

Examples

Example 1:
_degrees=asin 0.5
returns 30

Additional Information

Multiplayer:
-
See also:
Math Commands

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section