You are here : phpmathrad2deg

rad2deg() - math

This function converts number from radian
   to degrees.
Parameters :
  • number - A radian value

  • Syntax

    float rad2deg
         ( float $number
        )


    Example

    <?phpecho rad2deg(M_PI_4); // 45?>


    Output / Return Value


    Limitations


    Alternatives / See Also


    Reference