.Asin()

The Math.Asin() method computes an angle in radians whose sine is a specified number. In Math, this is known as the inverse sine function.

Syntax

Math.Asin(value);

value is the input value of type double, which must be in the range -1 <= value <= 1.

Returns an angle measured in radians, of type double, whose sine is value. If an invalid value is passed to the function, or no value is passed at all, NaN is returned.

Codebyte Example

Code
Output
Loading...

Contributors

Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn C# on Codecademy