Export (0) Print
Expand All
Expand Minimize

COT (SQL Server Compact Edition)

Mathematic function that returns the trigonometric cotangent of the specified angle, in radians, in the given float expression.


COT ( float_expression )

float_expression

An expression of data types that can be implicitly converted to float.

The following example returns the cotangent of various angles.

CREATE TABLE Cotangent ("COT(1)" float, "COT(PI()/6)" float, "COT(PI()/4)" float, "COT(PI()/3)" float, "COT(PI()/2)" float)
INSERT INTO Cotangent VALUES (COT(1), COT(PI()/6), COT(PI()/4), COT(PI()/3), COT(PI()/2))
SELECT * FROM Cotangent

Community Additions

ADD
Show:
© 2014 Microsoft