JavaScript cosh() method

Definition and usage

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

Example

Returns the hyperbolic cosine of a number:

Math.cosh(3);

Try it yourself

Syntax

Math.cosh(x)

Parameter value

Parameter Description
x Mandatory. Number.

Technical Details

Return Value: Numbers.
JavaScript Version: ECMAScript 6

Browser Support

Method Chrome Edge Firefox Safari Opera
cosh() 38 12 25 8 25

Related Pages

Tutorial:JavaScript Math