SEC
Updated 2023-10-13 14:48:00.097000
Syntax
SELECT [westclintech].[wct].[SEC] (
<@Number, float,>)
Description
Use the scalar function SEC to calculate the secant 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
SEC = 1 / Cos(@Number).
Examples
SELECT wct.SEC(PI());
Here is the result set.
{"columns":[{"field":"column 1","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"column 1":"-1"}]}