跳到主要内容

SINH

返回数字的双曲正弦值。

语法

expression.SINH(arg1);

expression - 表示 ApiWorksheetFunction 类的变量。

参数

名称必需/可选数据类型默认值描述
arg1必需ApiRange | ApiName | number将返回其双曲正弦值的任何实数。

返回值

number

示例

在电子表格中返回数字的双曲正弦值。

// Calculate the hyperbolic sine value using the SINH function.

// Apply the function to compute and display the result in a cell.

let worksheet = Api.GetActiveSheet();
let func = Api.WorksheetFunction;
worksheet.GetRange("A1").SetValue(func.SINH(4));