JavaScript Reference/Javascript Methods/sin

Материал из Web эксперт
Перейти к: навигация, поиск

"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.