DIAdem Help

Method: Tan for VBS

  • Updated2024-09-12
  • 1 minute(s) read

Method: Tan for VBS

Specifies the tangent of a number.

vTan = Object.Tan(number)
ObjectVBS
Object with this method. You do not need to specify this object.
numberVariant
Specifies a numeric value that corresponds to an angle in radians.
vTanVariant
Receives the tangent.

The following example calculates the tangent of the number pi:

Call MsgBox(Tan(Pi))

See Also

Objects Overview

Related Topics

Atn | Cos | Sin | Tan