VBScript Tan Function
--
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmark
VBScript Tutorial
VB Tutorial
VB Usage
VB Variables
VB Procedures
VB Conditionals
VB Looping
VB Summary
VB Examples
VB Functions
VB Keywords
VBScript Examples
VBScript Keywords
Dive Deeper
Scripting Languages
script
Development Tools
software
Computer Science
network design and development
web service
computer
Computer
network services
VBScript Tan Function
The Tan function returns the tangent of a specified number (angle).
Syntax
Tan(number)
| Parameter | Description |
|---|---|
| number | Required. A valid numeric expression that expresses an angle in radians. |
Example
document.write(Tan(40) & "") document.write(Tan(-40))
The output of the above example is:
-1.1172149309239
1.1172149309239
YouTip