簡介JavaScript中Math.LOG10E屬性的使用
更新時間:2015年06月14日 12:02:27 投稿:goldensun
這篇文章主要介紹了JavaScript中Math.LOG10E屬性的使用,是JS入門學(xué)習(xí)中的基礎(chǔ)知識,需要的朋友可以參考下
這將返回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>
這將產(chǎn)生以下結(jié)果:
Property Value is : 0.4342944819032518
相關(guān)文章
分析Node.js connect ECONNREFUSED錯誤
最近在準(zhǔn)備Angularjs +node.js demo的時候在我的mac開發(fā)中 遇見此錯誤2013-04-04

