Tan
From Xojo Documentation
Global Method
Returns the tangent of the angle specified.
Syntax
result=Tan (value)
Part | Type | Description |
---|---|---|
result | Double | The tangent of value. |
value | Double | The value (in radians) you want the tangent of. |
Notes
The Tan function returns the tangent of the angle (in radians) passed to it. If the angle is in degrees, multiply it by PI/180 to convert it to radians.
Examples
This example uses the Tan function to return the tangent of a number.
See Also
Atan function.