Method: Atn for VBS
- Updated2024-09-12
- 1 minute(s) read
Methods > Method: Atn for VBS
Method: Atn for VBS
Calculates the arc tangent of a number.
vAtn = Object.Atn(number)
| Object | VBS Object with this method. You do not need to specify this object. |
| number | Variant Specifies any numeric expression. |
| vAtn | Variant Receives the arc tangent in radians from -Pi/2 to Pi/2. |
The following example calculates the arc tangent of a number:
Call MsgBox(Atn(1.9143))