ACOSH
返回数字的反双曲余弦值。
语法
expression.ACOSH(arg1);
expression - 表示 ApiWorksheetFunction 类的变量。
参数
| 名称 | 必需/可选 | 数据类型 | 默认值 | 描述 |
|---|---|---|---|---|
| arg1 | 必需 | ApiRange | ApiName | number | 任何大于或等于 1 的实数。 |
返回值
number
示例
查找电子表格中数字的反双曲余弦。
// Apply the ACOSH function to get the inverse hyperbolic cosine in a spreadsheet.
// Store the calculated inverse hyperbolic cosine value in a cell in a spreadsheet.
let worksheet = Api.GetActiveSheet();
let func = Api.WorksheetFunction;
worksheet.GetRange("A1").SetValue(func.ACOSH(3.25));