Login     Register

        Contact Us     Search

XLeratorDB/math Documentation

SQL Server CSC function


CSC
 
Updated: 17 August 2010
Use CSC to calculate the cosecant of the given angle.
Syntax
SELECT [westclintech].[wct].[CSC] (
   <@Number, float,>)
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 Types
float
Remarks
·         CSC = 1 / Sin(@Number)
Example
 
SELECT wct.CSC(PI()/2)
Here is the result set
----------------------
1
 

(1 row(s) affected)



Copyright 2008-2017 Westclintech LLC         Privacy Policy        Terms of Service