Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. JavaScript
  3. Reference
  4. Standard built-in objects
  5. Math
  6. LOG10E

Math.LOG10E

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

TheMath.LOG10E static data property represents the base 10 logarithm ofe, approximately 0.434.

Try it

function getLog10e() {  return Math.LOG10E;}console.log(getLog10e());// Expected output: 0.4342944819032518

Value

𝙼𝚊𝚝𝚑.𝙻𝙾𝙶𝟷𝟶𝙴=log10(e)0.434\mathtt{Math.LOG10E} = \log_{10}(\mathrm{e}) \approx 0.434
Property attributes ofMath.LOG10E
Writableno
Enumerableno
Configurableno

Description

BecauseLOG10E is a static property ofMath, you always use it asMath.LOG10E, rather than as a property of aMath object you created (Math is not a constructor).

Examples

Using Math.LOG10E

The following function returns the base 10 logarithm of e:

js
function getLog10e() {  return Math.LOG10E;}getLog10e(); // 0.4342944819032518

Specifications

Specification
ECMAScript® 2026 Language Specification
# sec-math.log10e

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp