Excel: Sin Function
In Excel, the Sin function returns the sine of an angle.
The syntax for the Sin function is:
Sin( number )
number is a numeric value.
Applies To:
- Excel 2007, Excel 2003, Excel XP, Excel 2000
For example:
Let's take a look at an example:

Based on the Excel spreadsheet above:
=Sin(A1) would return 0.141120008 =Sin(A2) would return -0.883454656 =Sin(A3) would return 0.883454656 =Sin(2) would return 0.909297427
VBA Code
The Sin function can also be used in VBA code. For example:
Dim LNumber As Double
LNumber = Sin(2)
In this example, the variable called LNumber would now contain the value of 0.909297427.