Home Menu

deg2rad

Converts the number in degrees to the radian equivalent

Syntax

deg2rad ( float $number ) : float

Parameters

number

Angular value in degrees

Return

The radian equivalent of number

Examples

<?

$number = 180;

$return = deg2rad($number);

echo $return;

?>
float(0)
int(0)

PHP

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms