Math.SQRT1_2

SQRT1_2 — Returns the square root of ½.

Description

Math.SQRT1_2

Return values

number primitive.

Examples

Example #1 – SQRT1_2 example
console.log(Math.SQRT1_2); // 0.7071067811865476 console.log(Number(Math.SQRT1_2).toFixed(20)); // 0.70710678118654757274

External references