Skip to content
Chung Leong edited this page Jan 10, 2022 · 6 revisions

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.

Clone this wiki locally