The Tan function calculates the tangent of the specified value specified in radians.
Syntax | ||||
Tan(Value) | ||||
Return value | ||||
Type |
Description | |||
Double |
The tangent of Value | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Value |
Double |
ByVal |
Value for determining the tangent |
Example
Dim Result As Double
Result := Tan(PI / 4)
Result = 1