Atan - Math

Revision as of 15:11, 2 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Math Script

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

SyntaxEdit

float Function atan(float afValue) native global

ParametersEdit

  • afValue: The value to get the arctangent of.

Return ValueEdit

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

ExamplesEdit

float x = atan(0) ; x == 180
float y = acos(1) ; y == 45

See AlsoEdit