Jump to: navigation, search

Php rad2deg

From w3cyberlearnings

Contents

PHP function rad2deg

This function converts radian value to degree value.

Syntax rad2deg

X is a radian value.

rad2deg(X)

Example 1

<?php
echo rad2deg(pi());
echo "<br/>";
echo rad2deg(pi()/4);
?>

Output

180
45


Related Links


Navigation
Web
SQL
MISC
References