Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
Text lesson

ACOS

Example

Provide the arccosine of a number.

SELECT ACOS(0.25); 

Definition and Usage

The ACOS() function computes the arc cosine of a number.

The number provided must fall within the range of -1 to 1, otherwise, the function returns NULL.

Syntax

ACOS(number)

Parameter Values

Parameter

Description

number

Necessary. A numerical value is expected.

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Provide the arc cosine of a number.

SELECT ACOS(0.8);