COTH
function COTH(arg1: number = null): number | string | boolean
Description
Returns the hyperbolic cotangent of a number.
Parameters
- arg1
number
null Is the angle in radians for which you want the hyperbolic cotangent.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.COTH(0.785398));