VBScript Tan Function

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

Example

Example

<%

response.write(Tan(40) & "<br />")
response.write(Tan(-40))

%>

The output of the code above will be:

-1.1172149309239
1.1172149309239

❮ Complete VBScript Reference