Logo

CSC

Updated 2023-10-13 14:44:15.653000

Syntax

SELECT [westclintech].[wct].[CSC] (
   <@Number, float,>)

Description

Use the scalar function CSC to calculate the cosecant of the given angle.

Arguments

@Number

is the angle in radians. @Number is an expression of type float or of a type that can be implicitly converted to float.

Return Type

float

Remarks

CSC = 1 / Sin(@Number).

Examples

SELECT wct.CSC(PI()/2);

Here is the result set.

{"columns":[{"field":"column 1","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"column 1":"1"}]}