Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name  sqrt() 


Examples  float a = sqrt(6561); // Sets a to 81 float b = sqrt(625); // Sets b to 25 float c = sqrt(1); // Sets c to 1 

Description  Calculates the square root of a number. The square root of a number is always positive, even though there may be a valid negative root. The square root s of number a is such that s*s = a. It is the opposite of squaring.  
Syntax  sqrt(value)


Parameters 


Returns  float  
Usage  Application  
Related  pow() sq() 