degToRad (Function) |
Top Previous Next |
This function converts an angle from degrees to radians.
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Input: v : DOUBLE Angle to convert in degrees.
Returns: DOUBLE The value of the angle in radians.
Declaration: FUNCTION degtoRad : DOUBLE;
Example: INCLUDE rtcu.inc |