Easy Tutorial
❮ Func Mysqli Fetch Assoc Func String Strpbrk ❯

PHP cosh() Function

PHP Math Reference Manual

Example

Returns the hyperbolic cosine of different numbers:


Definition and Usage

The cosh() function returns the hyperbolic cosine of a number, defined as ((exp(number) + exp(-number))/2).


Syntax

Parameter Description
number Required. Specifies a number.

Technical Details

Return Value: The hyperbolic cosine of the number.
Return Type: Float
--- ---
PHP Version: 4.1+
--- ---
❮ Func Mysqli Fetch Assoc Func String Strpbrk ❯