ACOT
function ACOT(arg1: number = null): number | string | boolean
Description
Returns the arccotangent of a number, in radians in the range 0 to Pi..
Parameters
- arg1
number
null Is the cotangent of the angle you want.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.ACOT(0));