Easy Tutorial
❮ Func Array Count Func Math Hypot ❯

PHP tan() Function

PHP Math Reference Manual

Example

Returns the tangent of different numbers:


Definition and Usage

The tan() function returns the tangent of a number.


Syntax

Parameter Description
number Required. Specifies a radian value.

Technical Details

Return Value: The tangent of the number.
Return Type: Float
--- ---
PHP Version: 4+
--- ---
❮ Func Array Count Func Math Hypot ❯