Returns the arctangent of the specified x and y coordinates, in radians between -Pi and Pi, excluding -Pi.
Name | Type | Description |
arg1 | number | Is the x-coordinate of the point. |
arg2 | number | Is the y-coordinate of the point. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.ATAN2(1, -9)); builder.SaveFile("xlsx", "ATAN2.xlsx"); builder.CloseFile();