Home > PHP > Function > Math > tan()

tan()

tan - Tangent

Syntax

float tan (float $arg)

Arguments

  • arg - The argument to process in radians

Description

tan() returns the tangent of the arg parameter. The arg parameter is in radians.

Version

PHP 4, 5

Return value

The tangent of arg