tg: Difference between revisions

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


| ofp |= Game name


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


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


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


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


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_tangent = tg 45 .......Result is 1</pre> |= Example 1
____________________________________________________________________________________________


[[Number]]
|  |= See also


'''Description:'''
}}


Tangent 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|TG]]
_tangent = '''tg''' 45  .......Result is 1
[[Category:Scripting Commands OFP 1.96|TG]]
[[Category:Scripting Commands OFP 1.46|TG]]
[[Category:Scripting Commands ArmA|TG]]

Revision as of 22:53, 1 August 2006

Hover & click on the images for description

Description

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

Syntax

Syntax:
tg x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_tangent = tg 45 .......Result is 1

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