DegreesToRadians (open)
Converts degrees to radians.
Syntax
LOADLIB "wh::float.whlib";
FLOAT FUNCTION DegreesToRadians(FLOAT degrees)
Parameters
FLOAT degrees
The degrees value to be converted
Return value
FLOAT
The radians value
Examples
// The resulting float will be 1.5708.... (90 degrees is PI/2 radians)
FLOAT r := DegreesToRadians(90);