ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






FUNCTION:  Sin( )

Sin(Number)

The Sin function returns the sine for a number (angle).

Code:
<% =Sin(45.0) %>

Output:
0.850903524534118

You can also use a negative number (angle).

Code:
<% =Sin(-45.0) %>

Output:
-0.850903524534118