Site Tools
Sidebar
User's Manual
t2:deg2rad
deg2rad
deg2rad — Converts the number in degrees to the radian equivalent
Description
fix32 deg2rad(fix32 deg);
This function converts deg from degrees to the radian equivalent.
Parameters
- deg: Angular value in degrees.
Return Value
The radian equivalent of deg.
Examples
Example #1 deg2rad() example
init { printf("%.6f", deg2rad(45.0)); // ~0.785398163397 }
See Also
t2/deg2rad.txt · Last modified: 2016/11/13 06:37 by J2Kbr