SpreadJS Documentation
SEC
SpreadJS Documentation > Formula Reference > Formula Functions > SEC

This function returns the secant of the specified angle.

Syntax

SEC(angle)

Arguments

This function can take any real number as an argument. The angle argument is the angle in radians for which you want the secant.

Remarks

If the angle is in degrees, multiply it by PI/180 to convert it to radians.

Data Types

Accepts numeric data. Returns numeric data.

Examples

SEC(60) gives the result -1.049

SEC(45) gives the result 1.903

See Also