RadiansToDegrees Function

Top  Previous  Next

Returns the angle in degrees corresponding with an angle specified in radians. The range of the result is 0 to 360 degrees. To convert angle from degrees to radians use DegreesToRadians function.

 

Short form: "radtodeg".

 

Syntax

 

value = RadiansToDegrees( expression )

 

Parameters

expression

 

any expression

 

 

 

returns

 

the angle in degrees corresponding with the angle specified in radians

 

Examples

 

value = RadiansToDegrees( PI )          ' Returns 360

value = RadiansToDegrees( PI / 2 )      ' Returns 180