Radians To Degrees

Radians To Degrees

This function is provided to is companion function found at Handy for use in geo targetting or geo location or any geographical application you can think.

This function is already available within PHP itself using rad2deg() and is shown here for example only.


 * @convert radians to degrees
 * @param float $radians
 * @return float
function radiansToDegrees($radians)
$radians 180 pi();

/*** example usage ***/
$radians 0.123;