rad2deg - chung-leong/qb GitHub Wiki

rad2deg - Converts a number in radians to the degree equivalent

float rad2deg ( float $x )

rad2deg() converts x from radians to its degree equivalent.

Parameters:

x - The angular value in radians. It can be a scalar or an array.

Return Value:

The degree equivalent of x. If x is an array, the result value will also be an array.

Version

1.0 and above.