Acos - Math

From the CreationKit Wiki
Revision as of 19:10, 4 March 2010 by imported>Jlundin (New page: Category:Scripting Category:Papyrus '''Member of:''' Math Script Calculates the arccosine of the value it is given. The returned value is in degrees. == Syntax == <source lan...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Math Script

Calculates the arccosine of the value it is given. The returned value is in degrees.

Syntax

float Function acos(float afValue) native global

Parameters

  • afValue: The value to get the arccosine of. This value must be no greater than 1, and no less then -1.

Return Value

The arccosine of the passed-in value, in degrees.

Examples

float x = acos(0) ; x == 90
float y = acos(-1) ; y == 180

See Also