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

This example shows how to return the hyperbolic sine of a number.

// How to calaculate the hyperbolic sine of a number.

// Use a function to get a hyperbolic sine of a number.

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