Tan
From AutoIt Wiki
Calculates the Tangent of a number. Adapted from AutoIt docs.
Contents |
Syntax
$x = Tan(expr)
Parameters
| expr | Value in radians. 1 deg = pi / 180 rad. |
Return Value
Returns the trigonometric tangent of a number.
Example
$pi = 3.14159265358979 $x = tan($pi / 4) $degToRad = $pi / 180 $y = Tan(90 * $degToRad) ;tangent of 90°