Asin - Math

Revision as of 09:04, 10 February 2012 by imported>Nali (→‎Examples)

Member of: Math Script

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

Syntax

float Function asin(float afValue) native global

Parameters

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

Return Value

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

Examples

float x = math.asin(1) ; x == 90
float y = math.asin(0) ; y == 180

See Also