Skip to main content

SINH

Returns the hyperbolic sine of a number.

Syntax

expression.SINH(arg1);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberAny real number for which the hyperbolic sine will be returned.

Returns

number

Example

Return the hyperbolic sine of a number in a spreadsheet.

// 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));