Math.SQRT1_2
Math.SQRT1_2 is a JavaScript property in the Math category. The square root of 1/2 (approximately 0.707). The syntax is Math.SQRT1_2. A typical example: Math.SQRT1_2 // 0.7071067811865476. A close sibling is Math.abs(), which returns the absolute value of a number. A close sibling is Math.ceil(), which rounds up to the nearest integer. A close sibling is Math.floor(), which rounds down to the nearest integer. A close sibling is Math.round(), which rounds to the nearest integer. More about this category: Math functions for calculations — random, round, sqrt, floor, and more. Related Math methods: Math.abs(), Math.ceil(), Math.floor(), Math.round(), Math.trunc(), Math.max(), Math.min(), Math.random(). This page is part of the free JS Reference documentation covering 1027+ methods, each with syntax, parameters, return values, examples, and common pitfalls. You can try Math.SQRT1_2 immediately in the JavaScript playground, look up unfamiliar terms in the glossary, or return to the JS Reference homepage.