Returns the sine of an angle.
Name | Type | Description |
arg1 | number | Is the angle in radians for which you want the sine. Degrees * PI()/180 = radians. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.SIN(0.5)); builder.SaveFile("xlsx", "SIN.xlsx"); builder.CloseFile();