Math.LN2

LN2 — Returns the natural logarithm of 2.

Description

Math.LN2

Return values

number primitive.

Examples

Example #1 – LN2 example
console.log(Math.LN2); // 0.6931471805599453 console.log(Number(Math.LN2).toFixed(20)); // 0.69314718055994528623

External references