asin()
Table of Contents
Overview
The asin() function takes a number (representing a trigonometric sine) as an argument, and returns the angle (measured in radians) of that number.
Return Type
- Decimal
Syntax
<variable> = <number>.asin();
(OR)
<variable> = asin(<number> );
Parameter | Description | Data type |
---|---|---|
<variable> | Variable which will contain the returned value. | DECIMAL |
<number> | The number whose inverse sine value will be returned. | NUMBER or DECIMAL |
Examples
number= 1;
asinValue = number.asin(); // returns 1.5707963267948966
asinValue = number.asin(); // returns 1.5707963267948966