cos: Difference between revisions

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

Revision as of 21:05, 1 June 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