cos: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Cosine of a number, argument in degrees. |= Description | |||
____________________________________________________________________________________________ | |||
| '''cos''' x |= Syntax | |||
|p1= x: [[Number]] |= Parameter 1 | |||
| [[Number]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>cos 60</pre> | |||
returns 0.5 |= Example 1 | |||
____________________________________________________________________________________________ | |||
[[ | | [[acos]], [[sin]], [[asin]] |= See also | ||
}} | |||
<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|COS]] | |||
[[Category:Scripting Commands OFP 1.96|COS]] | |||
[[Category:Scripting Commands OFP 1.46|COS]] | |||
[[Category:Scripting Commands ArmA|COS]] |
Revision as of 23:01, 1 August 2006
Description
- Description:
- Cosine of a number, argument in degrees.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
cos 60
returns 0.5
Additional Information
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