Easy Tutorial
❮ Func Filesystem Fpassthru Php File Upload ❯

PHP rad2deg() Function

PHP Math Reference Manual

Example

Convert radians to degrees:


Definition and Usage

The rad2deg() function converts a radian value to a degree value.

Note: To convert degree values to radian values, see the deg2rad() function.


Syntax

Parameter Description
number Required. Specifies the radian value to convert.

Technical Details

Return Value: The corresponding degree of the number.
Return Type: Float
--- ---
PHP Version: 4+
--- ---
❮ Func Filesystem Fpassthru Php File Upload ❯