跳到主要内容

ASIN

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

Syntax

expression.ASIN(arg1);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberThe angle sine. It must be from -1 to 1.

Returns

number

Example

let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.ASIN(0.25));