tan - chung-leong/qb GitHub Wiki

tan - Tangent

float tan ( float $x )

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

Parameters:

x - The argument to process in radians. It can be a scalar or an array.

Return Value:

The tangent of x. If x is an array, the return value will also be an array.

Version

1.0 and above.