JavaScript Tutorial/Math/LOG10E

Материал из Web эксперт
Версия от 11:24, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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>