How to use rad2deg in PHP
This article describe about rad2deg() Function in PHP.
rad2deg() Function
This function is used for convert radian number to it degree.
Syntax
Parameter |
Description |
radian_number |
Specified a radian number to convert |
Example
<html>
<body>
<?php
$rad = M_PI;
$deg = rad2deg($rad);
echo "$rad radians is equal to $deg degrees";
?>
</body>
</html> |
Output

You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here