RadiansToDegrees (open)

Converts radians to degrees.

Syntax

LOADLIB "wh::float.whlib";

FLOAT FUNCTION RadiansToDegrees(FLOAT radians)

Parameters

FLOAT radians

The radians value to be converted

Return value

FLOAT

The degrees value

Examples

// The resulting float will be 90 (90 degrees is PI/2 radians)
FLOAT d := RadiansToDegrees(PI/2);