Mysql ASIN
From w3cyberlearnings
Contents |
MySQL ASIN Function
This function returns the arc sine of X, and the value X is sine value. It returns NULL when X is not the range -1 to 1.
Syntax ASIN
X is the number between -1 to 1.
ASIN(X);
Example 1
mysql> SELECT ASIN(-0.3); +--------------------+ | ASIN(-0.3) | +--------------------+ | -0.304692654015398 | +--------------------+ 1 row in set (0.00 sec)
Example 2
mysql> SELECT ASIN(1); +-----------------+ | ASIN(1) | +-----------------+ | 1.5707963267949 | +-----------------+ 1 row in set (0.00 sec)