Share via


WorksheetFunction.ImCos Method (Excel)

Returns the cosine of a complex number in x + yi or x + yj text format.

Syntax

expression .ImCos(Arg1)

expression A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

Required

Variant

Inumber - a complex number for which you want the cosine.

Return Value

String

Remarks

  • Use COMPLEX to convert real and imaginary coefficients into a complex number.

  • If inumber is a logical value, IMCOS returns the #VALUE! error value.

  • The cosine of a complex number is: Ff836212.awfimcos_ZA06051157(en-us,office.14).gif

See Also

Concepts

WorksheetFunction Object Members

WorksheetFunction Object