(PHP 4, PHP 5, PHP 7, PHP 8)
rad2deg — Converts the radian number to the equivalent number in degrees
$num
This function converts num from radian to degrees.
num
A radian value
The equivalent of num in degrees
Örnek 1 rad2deg() example
<?phpecho rad2deg(M_PI_4); // 45?>