deg2rad(3) php man page | unix.com

Man Page: deg2rad

Operating Environment: php

Section: 3

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
cairo_clip_extents(3) - php
date_sun_info(3) - php
empty(3) - php
imagerotate(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