php man page for deg2rad

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 equivalent

SYNOPSIS
float deg2rad (float $number)
DESCRIPTION
This function converts $number from degrees to the radian equivalent.
PARAMETERS
o $number - Angular value in degrees
RETURN VALUES
The radian equivalent of $number
EXAMPLES
Example #1 deg2rad(3) example <?php echo deg2rad(45); // 0.785398163397 var_dump(deg2rad(45) === M_PI_4); // bool(true) ?>
SEE ALSO
rad2deg(3). PHP Documentation Group DEG2RAD(3)
Related Man Pages
math::trig(3pm) - redhat
imagickdraw(3) - php
swfdisplayitem(3) - php
date_sun_info(3) - php
imagerotate(3) - php
Similar Topics in the Unix Linux Community
Calculating distance between two LAT long coordinates
Geographical distance between long and lat in bash