SpreadJS Documentation
IMSEC
SpreadJS Documentation > Formula Reference > Formula Functions > IMSEC

This function calculates the secant of specified complex number.

Syntax

IMSEC(complex_num)

Arguments

The complex_num argument is a complex number to return the secant for.

Remarks

An error is returned if the complex_num argument is not in the form "x+yi" or "x+yj".

Data Types

Accepts numeric and string data. Returns string data.

Examples

IMSEC("11-2i") gives the result 0.00126

IMSEC("3-6i") gives the result -0.00490

See Also