Sin (function)

Syntax

Sin(angle)

Description

Returns a Double value specifying the sine of angle.

Comments

The angle parameter is a Double specifying an angle in radians.

Example

This example displays the sine of pi/4 radians (45 degrees).

Sub Main()
  c# = Sin(Pi / 4)
  MsgBox "The sine of 45 degrees is: " & c#
End Sub

See Also

Tan (function); Cos (function); Atn (function).

More information

S