PHP rad2deg() Function

The rad2deg() function is used to convert a Radians into Degrees values.

Demo :



Type Radians Value :  

Example :

Type Radians Value : 1.57079632679491

If you need to converts a Radians into Degrees values following code useful to you.


<?php
  $radians = 1.57079632679491;
  $degrees = rad2deg($radians);
  echo "$radians radians = $degrees degrees ";
?>

In the rad2deg() functions have used one arguments that name is float number.

Free Download Script :

If you need rad2deg() function demo code download from following link.

Download




Content