tg: 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|TG]]
[[Category:Scripting Commands|TG]]
[[Category:Scripting Commands OFP 1.97|TG]]
[[Category:Scripting Commands OFP 1.96|TG]]
[[Category:Scripting Commands OFP 1.46|TG]]
[[Category:Scripting Commands OFP 1.46|TG]]
[[Category:Scripting Commands ArmA|TG]]
[[Category:Scripting Commands ArmA|TG]]

Revision as of 20:04, 1 June 2006


tg x


Operand types:

x: Number

Type of returned value:

Number

Description:

Tangent of x, argument in degrees.


Example:

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