MariaDB: ASIN Function
This MariaDB tutorial explains how to use the MariaDB ASIN function with syntax and examples.
Description
The MariaDB ASIN function returns the arc sine of a number.
Syntax
The syntax for the ASIN function in MariaDB is:
ASIN( number )
Parameters or Arguments
- number
- The number used to calculate the arc sine.
Note
- The ASIN function will return NULL, if number is not within the range of -1 to 1.
Applies To
The ASIN function can be used in the following versions of MariaDB:
- MariaDB 10
Example
Let's look at some MariaDB ASIN function examples and explore how to use the ASIN function in MariaDB.
For example:
SELECT ASIN(0.41); Results: 0.42245406218675574 SELECT ASIN(-0.1); Results: -0.1001674211615598 SELECT ASIN(1); Results: 1.5707963267948966 SELECT ASIN(1.1); Results: NULL
Advertisements