COS (TSQL Function)

Returns the cosine of a number.

Syntax

COS ( float_expression )

Arguments

float_expression
is an expression of type float.

Return Types

Returns float.

Examples

PRINT COS(14.78);

The result is:

-0.5994654261946543
RSQL, a simple alternative to Microsoft SQL Server