DEGREES
function DEGREES(arg1: number = null): number | string | boolean
Description
Converts radians to degrees.
Parameters
- arg1
number
null Is the angle in radians that you want to convert.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.DEGREES(1.5));