TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

DEGREES

DEGREES(arg1) → { number | string | boolean }

Converts radians to degrees.

Parameters:

Name Type Description
arg1 number

Is the angle in radians that you want to convert.

Returns:

Type
number | string | boolean

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.DEGREES(1.5));
builder.SaveFile("xlsx", "DEGREES.xlsx");
builder.CloseFile();

Resulting document