sin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SIN]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SIN]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SIN]]
[[Category:Scripting Commands ArmA|SIN]]


| ofp |= Game name


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


| Sine of x, argument in degrees. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''sin''' x |= Syntax


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


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_sine = sin 30 ...... Result is 0.5</pre> |= Example 1
____________________________________________________________________________________________


[[Number]]
|  |= See also


'''Description:'''
}}


Sine of '''x''', argument 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>
 
[[Category:Scripting Commands|SIN]]
_sine = '''sin''' 30 ...... Result is 0.5
[[Category:Scripting Commands OFP 1.96|SIN]]
[[Category:Scripting Commands OFP 1.46|SIN]]
[[Category:Scripting Commands ArmA|SIN]]

Revision as of 23:46, 1 August 2006

Hover & click on the images for description

Description

Description:
Sine of x, argument in degrees.
Groups:
Uncategorised

Syntax

Syntax:
sin x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_sine = sin 30 ...... Result is 0.5

Additional Information

See also:
See also needed

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