DIAdem Help

Method: Sin for VBS

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

Method: Sin for VBS

Specifies the sine of a number.

vSin = Object.Sin(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.
vSinVariant
Receives the sine. The result ranges from -1 to 1.

The following example calculates the sine of the number pi:

Call MsgBox(Sin(Pi))

See Also

Objects Overview

Related Topics

Atn | Cos | Sin | Tan