sin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
Line 20: Line 20:
}}
}}


<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SIN]]
[[Category:Scripting Commands|SIN]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]

Revision as of 01:57, 18 January 2021

Hover & click on the images for description

Description

Description:
Sine of x, argument in Degrees.
Groups:
Math - Geometry

Syntax

Syntax:
sin x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_sine = sin 30;// //result is 0.5

Additional Information

See also:
cos tan

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