Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How to get Natural logarithm of 10 in JavaScript?
To get the Natural logarithm of 10, use the Math.LN10 property in JavaScript. It returns the natural logarithm of 10, which is approximately 2.302.
You can try to run the following code to get Natural logarithm of 10:
Example
<html>
<head>
<title>JavaScript Math LN10 Property</title>
</head>
<body>
<script>
var property_value = Math.LN10;
document.write("Property Value: " + property_value);
</script>
</body>
</html
Output
Property Value: 2.302585092994046
Advertisements
