dos_dtr - dalefugier/DOSLib GitHub Wiki
Converts an angle from degrees to radians.
Syntax
(dos_dtr degrees)
(dos_dtr degrees [minutes [seconds [direction]]])
Parameters
degrees
The degrees in either decimal or DMS.
minutes
The minutes.
seconds
The seconds.
direction
The direction. Specify T for north or east (default), or nil for south and west.
Returns
The angle in radians, if successful.
nil on error.
Example
Command: (dos_dtr 45)
0.785398
Command: (dos_dtr 90)
1.5708
Command: (dos_dtr 47 6 13)
0.822113