asin

The asin method returns the arcsine of a number as a value between 0 and PI radians.

 

Syntax

System.Double asin(System.Double x);

 

Parameters

x

Number between -1 to 1.

 

Return Value

Returns the arcsine of a number. If the parameter x is outside the range -1 to 1, the method will return NaN.

 

Remarks

Member of Math.

 

Example