rad2deg

It converts the radian number to the equivalent number in degrees

Example

<?php
echo rad2deg(M_PI_4);
?>

Output

45

Share