Skip to main content

COT

A mathematical function that returns the trigonometric cotangent of the specified angle - in radians - in the specified float expression.

Syntax

COT ( float_expression )

Arguments

float_expression
An expression of either type float or of a type that implicitly convert to float. Zero values return NULL.

Return Type

Returns values of type FLOAT64.

Examples

Examples in this section use the example blockchain.

This example shows the results of using the COT function.

SELECT COT(real) FROM example;

Response:

COT(real) [FLOAT64]
NULL
NULL
0.6420926159343308
-0.45765755436028577