XLeratorDB/math Documentation
SEC
Updated: 17 August 2010
Use SEC to calculate the secant of the given angle.
Syntax
SELECT [westclintech].[wct].[SEC] (
<@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
· SEC = 1 / Cos(@Number)
Example
SELECT wct.SEC(PI())
Here is the result set
----------------------
-1
(1 row(s) affected)