HTBasic Help
×
Menu
Index

DEG

Sets the trigonometric mode to degrees for all angle measurements.
 
 DEG
 
Usage:
DEG
 
Example: DEG.BAS
 
Description:
All angle arguments and functions that return an angle measurement use the current trigonometric mode which can be either radians or degrees. DEG sets the trigonometric mode to degrees. The default trigonometric mode at start-up or after a SCRATCH A is radians.
 
A subprogram will use the same trigonometric mode as its caller unless it executes a RAD or DEG statement. Upon returning to the caller the previous trigonometric mode is restored.
 
See Also: