Math.SQRT1_2

Math.SQRT1_2

The square root of 1/2; equivalently, 1 over the square root of 2, approximately 0.707.

Property of Math
Static, Read-only

Examples

The following function returns 1 over the square root of 2:

Description

Because SQRT1_2 is a static property of Math, you always use it as Math.SQRT1_2, rather than as a property of a Math object you created.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.