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

rad2deg

Description

The rad2deg of Math for PHP converts the radian number to the equivalent number in degrees.

Syntax

rad2deg ( float $number ) : float

Parameters

number

A radian value

Return

The equivalent of number in degrees

Examples

1

<?

$number = M_PI;

$return = rad2deg($number);

echo $return;

?>
180
HomeMenu