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