SQLite acosh() Function
The SQLite acosh()
function returns the inverse hyperbolic cosine of a specified number.
Syntax
Here is the syntax of the SQLite acosh()
function:
acosh(number)
Parameters
number
-
Required. A number used to compute the inverse hyperbolic cosine. It must be a value to give greater than or equal to 1.
Return value
The SQLite acosh()
function returns the inverse hyperbolic cosine of a specified number.
If the value of the parameter is less than 1, the acosh()
function will return NULL
.
If the parameter number
is NULL
, the acosh()
function will return NULL
.
Examples
This example shows the basic usage of the SQLite acosh()
function:
SELECT
acosh(1),
acosh(2),
acosh(2000);
acosh(1) = 0.0
acosh(2) = 1.31695789692482
acosh(2000) = 8.29404957760202