PHP deg2rad() Function

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

Demo :



Type Degrees Value :  

Example :

Type Degrees Value : 90

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


<?php
  $degrees = 90;
  $radians = deg2rad($degrees);
  echo "$degrees degrees = $radians radians ";
?>

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

Free Download Script :

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

Download




Content