PHP 8.5.0 Alpha 2 available for testing

tan

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

tanTangente

Descripción

tan(float $num): float

Devuelve la tangente de num (num en radianes).

Parámetros

num

El argumento a tratar, en radianes

Valores devueltos

La tangente de num

Ejemplos

Ejemplo #1 Ejemplo con tan()

<?php

echo tan(M_PI_4); // 1

?>

Ver también

add a note

User Contributed Notes

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