Dutch PHP Conference 2025 - Call For Papers

tan

(PHP 4, PHP 5, PHP 7, PHP 8)

tanTangent

Опис

tan(float $num): float

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

Параметри

num

The argument to process in radians

Значення, що повертаються

The tangent of num

Приклади

Приклад #1 tan() example

<?php

echo tan(M_PI_4); // 1

?>

Прогляньте також

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top