Return the hyperbolic cosine of different numbers:
The cosh() function returns the hyperbolic cosine of a number (equivalent to (exp(number) + exp(-number)) / 2).
Parameter | Description |
---|---|
number | Required. Specifies a number |
Return Value: | The hyperbolic cosine of number |
---|---|
Return Type: | Float |
PHP Version: | 4.1+ |