欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

JavaScript中使用自然對數(shù)ln的方法

 更新時間:2015年06月14日 11:13:59   投稿:goldensun  
這篇文章主要介紹了JavaScript中使用自然對數(shù)ln的方法,是JS入門學習中的基礎(chǔ)知識,需要的朋友可以參考下

 這將返回10的自然對數(shù)大約是 2.302.
語法

Math.LN10

例子:

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

這將產(chǎn)生以下結(jié)果:

Property Value is : 2.302585092994046 


相關(guān)文章

最新評論