JavaScript Math.LOG10E Property

Shubham Vora Jan 30, 2023
  1. Syntax of JavaScript Math.LOG10E:
  2. Use the Math.LOG10E Property to Get the Base-10 Logarithm of the Constant e
JavaScript Math.LOG10E Property

The Math.LOG10E property returns a value that is the base-10 logarithm of the constant e. We don’t need to pass any argument or parameter for this property in JavaScript.

Syntax of JavaScript Math.LOG10E:

Math.LOG10E;

Parameter

This property does not take any parameters.

Return

This method returns the base-10 logarithm of constant e, approximately 0.43429.

Use the Math.LOG10E Property to Get the Base-10 Logarithm of the Constant e

In JavaScript, we use the Math.LOG10E property to get the Mathematical constant 10e value. In the example, we have used the Math.LOG10E property to get the exact value of the constant e base-10 logarithm.

let consValue = Math.LOG10E;
console.log(consValue);

Output:

0.4342944819032518

The Math.LOG10E method is supported in most browsers.

Author: Shubham Vora
Shubham Vora avatar Shubham Vora avatar

Shubham is a software developer interested in learning and writing about various technologies. He loves to help people by sharing vast knowledge about modern technologies via different platforms such as the DelftStack.com website.

LinkedIn GitHub

Related Article - JavaScript Math