Returns the cotangent of an angle.
Name | Type | Description |
arg1 | number | Is the angle in radians for which you want the cotangent. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.COT(0.785398)); builder.SaveFile("xlsx", "COT.xlsx"); builder.CloseFile();