acos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
Line 9: Line 9:
|descr= ArcCosine of a number, result in [[Number#Degrees|Degrees]]
|descr= ArcCosine of a number, result in [[Number#Degrees|Degrees]]


|s1= [[Number]] <nowiki>=</nowiki> '''acos''' x
|s1= [[Number]] <nowiki>=</nowiki> [[acos]]  x


|p1=  x: [[Number]]
|p1=  x: [[Number]]

Revision as of 16:41, 12 June 2021

Hover & click on the images for description

Description

Description:
ArcCosine of a number, result in Degrees
Groups:
Math - Geometry

Syntax

Syntax:
Number = acos x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_degrees = acos 0.5; // Returns 60

Additional Information

See also:
atan asin sin 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