TRY NEW VERSION

ASIN

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

Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2.

Parameters:

Name Type Description
arg1 number

Is the sine of the angle you want and must be from -1 to 1.

Returns:

Type
number | string | boolean

Example

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

Resulting document