Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

deg2rad

Description

The deg2rad of Math for PHP 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

1

<?

$number = 180;

$return = deg2rad($number);

echo $return;

?>
3.1415926535898
HomeMenu