For the complete documentation index, see llms.txt. This page is also available as Markdown.

COS

Calculate cosine. This function returns the cosine of an angle given in radians.

Syntax

COS(X)

Description

Returns the cosine of X, where X is given in radians.

Examples

SELECT COS(PI());
+-----------+
| COS(PI()) |
+-----------+
|        -1 |
+-----------+

This page is licensed: GPLv2, originally from fill_help_tables.sql

spinner

Last updated

Was this helpful?