w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

JavaScript SQRT1_2 Property


Math Object Reference JavaScript Math Object

Definition and Usage

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

Syntax

Math.SQRT1_2


Example

Example

Return the square root of 1/2:

<script type="text/javascript">

document.write("SQRT1_2: " + Math.SQRT1_2);

</script>

The output of the code above will be:

SQRT1_2: 0.7071067811865476

Try it yourself »


Math Object Reference JavaScript Math Object

DreamTemplate


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Windows Hosting
WEB BUILDING
XML Editor – Free Trial!
FREE Flash Website
FREE Web Templates
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display