Computer >> Computer tutorials >  >> Programming >> Javascript

JavaScript Math.LN10 Property


The LN10 property of the Math object represents the logarithmic value of 10.

Syntax

Its Syntax is as follows

Math.LN10

Example

<html>
<head>
   <title>JavaScript Example</title>
</head>
<body>
   <script type="text/javascript">
      var data = Math.LN10;
      document.write(data);
   </script>
</body>
</html>

Output

2.302585092994046