SQRT1_2
Math
class propertyS2C Home
« Globals « Math « SQRT1_2
Description
Returns the square root of 1/2.
- Like all class properties
SQRT1_2
should be used on the class rather than an instance of the class.
Syntax
Signature | Description |
---|---|
Math.SQRT1_2 | Returns the square root of 1/2. |
Parameters
None.
Examples
The code below displays SQRT1_2
usage.
alert('square root of 1/2: ' + Math.SQRT1_2) // 0.707106...
Related Tutorials
JavaScript Advanced Tutorials - Lesson 4 - Math