Query: deg2rad
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEG2RAD(3) 1 DEG2RAD(3) deg2rad - Converts the number in degrees to the radian equivalentSYNOPSISfloat deg2rad (float $number)DESCRIPTIONThis function converts $number from degrees to the radian equivalent.PARAMETERSo $number - Angular value in degreesRETURN VALUESThe radian equivalent of $numberEXAMPLESExample #1 deg2rad(3) example <?php echo deg2rad(45); // 0.785398163397 var_dump(deg2rad(45) === M_PI_4); // bool(true) ?>SEE ALSOrad2deg(3). PHP Documentation Group DEG2RAD(3)
| Related Man Pages |
|---|
| gmagickdraw(3) - php |
| imagickdraw(3) - php |
| imagerotate(3) - php |
| is_float(3) - php |
| pow(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Calculating distance between two LAT long coordinates |
| Geographical distance between long and lat in bash |