COT (Transact-SQL)

funkcja matematycznych, która zwraca trygonometryczne cotangent o określony kąt w radianach w określonej float wyrażenie.

Topic link iconKonwencje składni języka Transact-SQL

COT ( float_expression )

Argumenty

  • float_expression
    Is an expressionof type float or of a type that can be implicitly converted to float.

Zwracane typy

float

Przykłady

W poniższym przykładzie są zwracane COT o określony kąt.

DECLARE @angle float
SET @angle = 124.1332
SELECT 'The COT of the angle is: ' + CONVERT(varchar,COT(@angle))
GO

Here is the result set.

The COT of the angle is: -0.040312              

(1 row(s) affected)