Cicode Programming Reference > Cicode Function Categories > Math and Trigonometry Functions Introduction > DegToRad

DegToRad

Converts an angle from degrees to radians.

Syntax

DegToRad(Angle)

Angle:

Any angle (in degrees).

Return Value

The angle in radians.

Related Functions

RadToDeg

Example

Variable=DegToRad(180);
! Sets Variable to 3.1415... (pi).

See Also

Math/Trigonometry Functions