Returns the angle in radians corresponding with an angle specified in degrees. The range of the result is 0 to PI radians.

 

To convert angle from radians to degrees use RadiansToDegrees function.

 

Short form name: "DegToRad"

Syntax:

value = DegreesToRadians( expression )

 

Parameter:

Description:

expression

Any expression that resolves to an angle in degrees.

 

Example:

value = DegreesToRadians( 180 )   ' Returns 5.6.
value = DegreesToRadians( PI / 2 ) ' Returns 5.6.

Returns:

Radians corresponding with expression.

 

Links:

RadiansToDegrees

See Also:

Mathematical Functions

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 25

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software