COT

The COT function returns the cotangent of a specified number.

Syntax

COT ( number )

number

A  DOUBLE PRECISION number that specifies the angle, in radians, for which you want the cotangent computed.

Results

The data type of the returned value is a  DOUBLE PRECISION number.

  • If the specified number is NULL, the result of this function is NULL.
  • If the specified number is zero (0), the result of this function is one (1.0).

Example

splice> VALUES COT(1.234);
1
----------
0.35013639786791445

1 row selected

See Also