View Single Post
  #10 (permalink)  
Old 04-16-2008, 07:48 AM
sureshbabu sureshbabu is offline
D-Web Sr.Programmer
 
Join Date: Jul 2007
Location: India
Posts: 101
sureshbabu is on a distinguished road
Send a message via AIM to sureshbabu Send a message via MSN to sureshbabu Send a message via Yahoo to sureshbabu Send a message via Skype™ to sureshbabu
Default Re: Mathematical functions in PHP

rad2deg()
The rad2deg() function converts a radian number to its degree.

Syntax
rad2deg(radian_number)
Example
<?php
$rad = M_PI;
$deg = rad2deg($rad);
echo "$rad radians is equal to $deg degrees";
?>
__________________
Thanks
Regards
Sureshbabu Harikrishnan
+91 9884320017
Reply With Quote