数学asinh() 函数用于返回数字的双曲正弦波。这个 asinh() 是一种静态的数学方法,因此它总是被用作数学。asinh(),而不是创建数学对象的方法。
null
语法:
Math.asinh(value)
参数: 此函数接受单个参数 价值 这是你想知道的双曲正弦波的数字。
返回: 它返回给定数字的双曲正弦波。
例如:
Input : Math.asinh(2) Output : 1.4436354751788103 Input : Math.asinh(0) Output : 0 Input : Math.asinh(-1) Output : -0.881373587019543
数学代码。下面提供了asinh()函数:
<script type = "text/javascript" > // 2 is passed as a parameter document.write( "Output : " + Math.asinh(2)); </script> |
输出:
Output : 1.4436354751788103
<script type = "text/javascript" > // 0 is passed as a parameter document.write( "Output : " + Math.asinh(0)); </script> |
输出:
Output : 0
<script type = "text/javascript" > // 1 is passed as a parameter document.write( "Output : " + Math.asinh(1)); </script> |
输出:
Output : 0.881373587019543
<script type = "text/javascript" > // -1 is passed as a parameter document.write( "Output : " + Math.asinh(-1)); </script> |
输出:
Output : -0.881373587019543
支持的浏览器: 支持的浏览器 JavaScript数学。asinh()函数 以下列出了:
- 谷歌浏览器38.0
- Internet Explorer 12.0
- 火狐25.0
- 歌剧25.0
- Safari 8.0
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END