MySQLNumeric FunctionsCOS
SIN

COSNumeric Functions

TAN

Returns the cosine value.

Syntax

COS(x)

Example

Enter values below to update the example in real time.

angle_deg
cos_val
angles
SELECT angle_deg, ROUND(COS(RADIANS(angle_deg)), 4) AS cos_val
FROM angles;