发布于 2015-07-31 15:07:29 | 93 次阅读 | 评论: 0 | 来源: 网络整理

这将返回10为底的E的值,大约是 0.434.

语法


Math.LOG10E

例子:


<html>
<head>
<title>JavaScript Math LOG10E Property</title>
</head>
<body>
<script type="text/javascript">
   var property_value = Math.LOG10E
   document.write("Property Value is : " + property_value); 
</script>
</body>
</html>

这将产生以下结果:


Property Value is : 0.4342944819032518 
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务