Interested in improving this site? Please check the To Do page.
math.sqrt
Returns the square root of the provided parameter. The result is always a double.
Syntax
math.sqrt (dbl)
Params
dbl is any numerical frontier value, like a longtype or doubletype
Returns
A double, the square root of the value
Examples
Math.sqrt (256)
» 16.0
Math.sqrt (4.84)
» 2.2
Math.sqrt ("121")
» 11.0
Errors
An error is generated if the parameter (dbl) can’t be coerced to a double value