Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Tan Function

VBScript Tan Function


VBScript reference manual Complete VBScript Reference Manual


The Tan function returns the tangent of a specified number (an angle).

Syntax

Tan(number)

Parameters Description
number Required. A valid numeric expression that expresses an angle in radians.

Example

Example

The example above produces the following output:

-1.1172149309239

1.1172149309239

Try it »


VBScript reference manual Complete VBScript Reference Manual