Convert radians to degrees in PHP
Description
The following code shows how to convert radians to degrees.
Example
//w w w .j ava 2 s . c o m
<?php
echo rad2deg(pi()) . "<br>";
echo rad2deg(pi()/4);
?>
The code above generates the following result.