Convert Degrees to Radians using PHP

deg2rad function

<?php

$degrees = 180;
$radians = deg2rad($degrees);

echo $radians;

Leave a Comment

Cancel reply

Your email address will not be published.