Name
ACOS()
Synopsis
ACOS(number
)
This function returns the arc cosine, in radians, of a given number. For input greater than 1 or less than –1, NULL is returned. Here is an example:
SELECT ACOS(.5), ACOS(1.5); +----------+-----------+ | ACOS(.5) | ACOS(1.5) | +----------+-----------+ | 1.047198 | NULL | +----------+-----------+
Get MySQL in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.