rad2deg

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

rad2degRechnet einen Winkel vom Bogenmaß in Grad um

Beschreibung

rad2deg(float $num): float

Diese Funktion rechnet einen Winkel num vom Bogenmaß in Grad um.

Parameter-Liste

num

Ein Winkel im Bogenmaß.

Rückgabewerte

Der zu num äquivalente Wert in Grad.

Beispiele

Beispiel #1 rad2deg()-Beispiel

<?php

echo rad2deg(M_PI_4); // 45

?>

Siehe auch

  • deg2rad() - Rechnet einen Winkel von Grad in Bogenmaß um

add a note add a note

User Contributed Notes

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