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|")
(27 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<h2 style="color:#000066">'''tan ''x'''''</h2>
{{Command|Comments=
____________________________________________________________________________________________


'''Operand types:'''
| ofp |Game name=


x: [[Number]]
|1.00|Game version=
____________________________________________________________________________________________


'''Type of returned value:'''
| Tangent of x, argument in [[Number#Degrees|Degrees]]. |DESCRIPTION=
____________________________________________________________________________________________


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


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


Tangent of x, argument in degrees.
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_tangent = [[tan]] 45 </code>
Result is 1 |EXAMPLE1=
____________________________________________________________________________________________


'''Example:'''
| [[Math Commands]] |SEEALSO=
_tangent = '''tan 45'''  .......Result is 1
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<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