Skip to content
Chung Leong edited this page Jan 10, 2022 · 3 revisions

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.

Clone this wiki locally