TRY NEW VERSION

COTH

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

Returns the hyperbolic cotangent of a number.

Parameters:

Name Type Description
arg1 number

Is the angle in radians for which you want the hyperbolic cotangent.

Returns:

Type
number | string | boolean

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.COTH(0.785398));
builder.SaveFile("xlsx", "COTH.xlsx");
builder.CloseFile();

Resulting document