cos

Description

Returns the cosine of the angle specified in radians.

Syntax

cos(angle)

Parameters

angle

is any approximate numeric (float, real, or double precision) column name, variable, or constant expression.

Examples

Example 1

select cos(44)
 0.999843

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute cos.

See also

Documentation Transact-SQL Users Guide

Functions acos, degrees, radians, sin