qb45advr.hlp (Topic list)
TAN Function Details
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
TAN Function Details
 
Syntax
  TAN(numeric-expression)
 
TAN is calculated with single-precision accuracy, unless the argument
x is a double-precision value; in that case TAN is calculated with
double-precision accuracy.
 
You can convert an angle measurement from degrees to radians by
multiplying the degrees by π/180, where π = 3.141593.
 
To convert a radian value to degrees, multiply it by 57.2958.
 
Differences from BASICA
 
In BASICA, if TAN overflows, the interpreter displays the "Overflow"
error message, returns machine infinity as the result, and continues
execution.
 
If TAN overflows, QuickBASIC does not display machine infinity, and
execution halts (unless the program has an error-handling routine).