This is an old revision of the document!
Returns the tangent of a number. The Cubloc uses radians as units. Use a Single for the most precise results.
If your input is in degrees, you must convert it to radians: $rad = deg \times (\frac{\pi}{180})$
Dim A As Single Dim B As Single B = 0.785398 ' 45 degrees in radians A = Tan(B) ' Return the tangent of B (Approx. 1.0)