cot

Description

Returns the cotangent of the angle specified in radians.

Syntax

cot(angle)

Parameters

angle

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

Examples

Example 1

select cot(90)
-------------------- 
           -0.501203

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute cot.

See also

Documentation Transact-SQL Users Guide

Functions degrees, radians, sin