JavaScript Tutorial/Math/LOG10E

Материал из Web эксперт
Перейти к: навигация, поиск

Math.LOG10E

The LOG10E property of the Math object calculates the base 10 logarithm of Euler"s constant.

The return value is approximately 0.434.



   <source lang="javascript">

<html>

   <body>
   <script language="JavaScript">
   
   </script>
   <form name=form1>
   The Base 10 logarithm of Euler"s constant is:
   <input type="text" name="answer" size=20>
   <input type="button" value="Calculate" onClick="doMath()">
   
</form> </body> </html></source>