tan

(PHP 4, PHP 5, PHP 7)

tanTangent

Descrierea

tan ( float $num ) : float

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

Parametri

num

The argument to process in radians

Valorile întoarse

The tangent of num

Exemple

Example #1 tan() example

<?php

echo tan(M_PI_4); // 1

?>

A se vedea și