TRY NEW VERSION

IMCSC

IMCSC(arg1) → { number | string | boolean }

Returns the cosecant of a complex number.

Parameters:

Name Type Description
arg1 any

Is a complex number for which you want the cosecant.

Returns:

Type
number | string | boolean

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.IMCSC("-2+2.5i"));
builder.SaveFile("xlsx", "IMCSC.xlsx");
builder.CloseFile();

Resulting document