VBScript Sin function
Sin function returns the specified number (angle) sine.
grammar
Sin(number)
参数 | 描述 |
---|---|
number | 必需。将某个角表示为弧度的有效的数值表达式。 |
Examples
Examples
<script type="text/vbscript">
document.write(Sin(47) & "<br />")
document.write(Sin(-47))
</script>
document.write(Sin(47) & "<br />")
document.write(Sin(-47))
</script>
Examples of the above output:
0.123573122745224
-0.123573122745224
-0.123573122745224
try it"
Complete VBScript Reference