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