Tan()
- Last UpdatedJul 22, 2024
- 1 minute read
Returns the tangent of an angle given in degrees.
Category
Math
Syntax
Result = Tan( Number );
Parameter
Number
The angle in degrees. Any number or numeric attribute.
Examples
Tan(45); ' returns 1;
Tan(0); ' returns 0;
This example shows how to use the function in a math expression:
Wave = 10 + 50 * Tan(6 * Now().Second);