SpreadJS Documentation
IMTAN
SpreadJS Documentation > Formula Reference > Formula Functions > IMTAN

This function calculates the tangent of specified complex number.

Syntax

IMTAN(complex_num)

Arguments

The complex_num argument is a complex number to return the tangent 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

IMTAN("8+2i") gives the result -0.0109

IMTAN("9+3i") gives the result -0.0037

See Also