PHP 4, PHP 5, PHP 7, PHP 8
tan - Tangent

tan( float$num ): float

tan returns the tangent of the num parameter. The num parameter is in radians.



The argument to process in radians

Return Values

The tangent of num

Related Functions

Example of tan

Show all examples for tan

PHP Version:

Function tan:

Mathematical Functions Functions

Most used PHP functions