PHP Dokumentation: Function tan
12. Januar 2010 von werner
tan
(PHP 4, PHP 5)
tan — Tangent
Beschreibung
float tan ( float $arg )
tan() berechnet den Tangens des Winkels arg.
Parameter-Liste
- arg
Ein Winkel in Bogenmaß
Rückgabewerte
Der Tangens des Winkels arg
Beispiele
Beispiel #1 tan() Beispiel
<?phpecho tan(M_PI_4); // 1?>