The mathAsin() function returns the arcsine of a number.
mathAsin()
0.12.0
A number between -1 and 1, inclusive
The arcsine (in radians) of the given number, a value between -π/2 and π/2
mathAsin(0); // 0mathAsin(1); // 1.5707963267948966 (π/2)mathAsin(-1); // -1.5707963267948966 (-π/2)mathAsin(0.5); // 0.5235987755982989 (approximately π/6) Copy
mathAsin(0); // 0mathAsin(1); // 1.5707963267948966 (π/2)mathAsin(-1); // -1.5707963267948966 (-π/2)mathAsin(0.5); // 0.5235987755982989 (approximately π/6)
Returns the arcsine of a number.
A numeric expression.
The
mathAsin()
function returns the arcsine of a number.Since
0.12.0
Param: x
A number between -1 and 1, inclusive
Returns
The arcsine (in radians) of the given number, a value between -π/2 and π/2
Example