tan: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
(25 intermediate revisions by 13 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#T|COMREF]]
{{Command|Comments=
____________________________________________________________________________________________


<h2 style="color:#000066">'''tan ''x'''''</h2>
| ofp |Game name=


|1.00|Game version=
____________________________________________________________________________________________


'''Operand types:'''
| Tangent of x, argument in [[Number#Degrees|Degrees]]. |DESCRIPTION=
____________________________________________________________________________________________


'''x:''' [[Number]]
| '''tan''' x |SYNTAX=


'''Type of returned value:'''
|p1= x: [[Number]] |PARAMETER1=


[[Number]]
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_tangent = [[tan]] 45 </code>
Result is 1 |EXAMPLE1=
____________________________________________________________________________________________


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


Tangent of '''x''', argument in degrees.
}}


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


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


_tangent = '''tan''' 45  .......Result is 1
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|TAN]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|TAN]]
[[Category:Scripting Commands OFP 1.46|TAN]]
[[Category:Scripting Commands Armed Assault|TAN]]
[[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 21:01, 3 June 2020

Hover & click on the images for description

Description

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

Syntax

Syntax:
tan x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_tangent = tan 45 Result is 1

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