JavaScript Reference/Javascript Methods/sin
Версия от 18:30, 25 мая 2010; (обсуждение)
"sin()" Example
<html>
<body>
<button onclick="alert(Math.sin(1));">SIN</button>
</body>
</html>
"sin()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Math |
+----------------+--------------------------------------------------------------+
"sin()" Syntax, Parameters and Note
Note:
Sine of the specified number.
Syntax:
Math.sin(param1)
Parameters:
param1 Required; the number to convert.