TRY NEW VERSION

CSC

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

Returns the cosecant of an angle.

Parameters:

Name Type Description
arg1 number

Is the angle in radians 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.CSC(0.785398));
builder.SaveFile("xlsx", "CSC.xlsx");
builder.CloseFile();

Resulting document