This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

asin

Summary

Returns the arcsine of a number.

Syntax

Math.asin( number )
number
Required. The required number argument is a numeric expression for which the arcsine is needed.

Return Value

The return value is the arcsine of the number argument, in radians.

Examples

var v1 = Math.asin(-1.0);
document.write(v1);
// Output: -1.5707963267948965

Remarks

Applies To : Math Object

See also

Other articles

Attributions

  • Microsoft Developer Network: Article