Home Menu

rad2deg

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

<?

$number = M_PI;

$return = rad2deg($number);

echo $return;

?>
180

PHP

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms