X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

JavaScript SQRT1_2 Property

Math Object Reference JavaScript Math Object

Example

Return the square root of 1/2:

Math.SQRT1_2;

The result will be:

0.7071067811865476

Try it yourself »


Definition and Usage

The SQRT1_2 property returns the square root of 1/2, approximately 0.707.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The SQRT1_2 property is supported in all major browsers.


Syntax

Math.SQRT1_2

Technical Details

Return Value: A Number, representing the square root of 1/2
JavaScript Version: 1.0


Math Object Reference JavaScript Math Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook