Arduino Programming Language: Sqrt

Name

sqrt()

Description

Calculates the square root of a number.

Syntax

y=sqrt(x)

Parameters

  • x:the number, any data type

Returns

 double: the number's square root

Related Functions


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc