cos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|C]]
[[Category:Scripting Commands|COS]]
[[Category:Scripting Commands OFP 1.97|C]]
[[Category:Scripting Commands OFP 1.97|COS]]
[[Category:Scripting Commands OFP 1.46|C]]
[[Category:Scripting Commands OFP 1.46|COS]]
[[Category:Scripting Commands ArmA|C]]
[[Category:Scripting Commands ArmA|COS]]





Revision as of 13:41, 4 May 2006


cos x


Operand types:

x: Number

Type of returned value:

Number

Description:

Cosine of x, argument in degrees.


Example:

_cosine = cos 60 ...... Result is 0.5