sin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "{{cc|//" to "{{cc|")
Line 32: Line 32:
|r1= [[Number]]
|r1= [[Number]]
   
   
|x1= <code>_sine = [[sin]] 30; {{cc|//result is 0.5}}</code>
|x1= <code>_sine = [[sin]] 30; {{cc|result is 0.5}}</code>


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

Revision as of 10:09, 4 May 2021

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