php radians to degrees

31

//converts a given degree to a radians value
<?php
deg2rad(45); // 0.785398163397


//converst radians number into degrees
<?php
echo rad2deg(M_PI_4); // 45
?>

Comments

Submit
0 Comments