sin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\{\{cc\|([^ ]*)\}\}([^ ]*)<\/code>" to "<code>$1// $2$3</code>")
Line 32: Line 32:
|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_sine = sin 30; {{cc|result is 0.5}}</code>
|x1= <code>_sine = sin 30; // result is 0.5</code>


|seealso= [[cos]] [[tan]]
|seealso= [[cos]] [[tan]]
}}
}}

Revision as of 12:22, 12 May 2022

Hover & click on the images for description

Description

Description:
Sine of x.
Groups:
Math - Geometry

Syntax

Syntax:
sin x
Parameters:
x: Number - Value in degree
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