deg2rad
Description
Syntax
deg2rad ( float $number ) : float
Parameters
number
Angular value in degrees
Return
The radian equivalent of number
Examples
1
<? $number = 180; $return = deg2rad($number); echo $return; ?>
3.1415926535898
deg2rad ( float $number ) : float
Angular value in degrees
The radian equivalent of number
<? $number = 180; $return = deg2rad($number); echo $return; ?>
3.1415926535898