In Access, the Tan function returns the tangent of an angle.
The syntax for the Tan function is:
Tan ( number )
The argument number can be any valid numeric expression that expresses an angle in radians. Tan takes an angle and returns the ratio of two sides of a right triangle. The ratio is the length of the side opposite the angle divided by the length of the side adjacent to the angle.
|
VBA Code
|
This example uses the Tan function to return the tangent of an angle. Now the MyNumber variable would contain the value -0,747022.
SQL query
You can also use the Tan function in a query.
|