THE WORLD'S LARGEST WEB DEVELOPER SITE

JavaScript cosh() Method

❮ JavaScript Math Object

Example

Return the hyperbolic cosine of a number:

Math.cosh(3);
Try it Yourself »

Definition and Usage

The cosh() method returns the hyperbolic cosine of a number.


Browser Support

Method
cosh() 38 12 25 8 25

Syntax

Math.cosh(x)

Parameter Values

Parameter Description
x Required. A number


Technical Details

Return Value: A Number
JavaScript Version: ECMAScript 6

❮ JavaScript Math Object