sqrt()

Returns the square root of the specified number. If a negative number is passed to the parameter, this returns NaN (Not a Number). It returns null when it receives an argument value that is not a number.

Syntax

sqrt(NUM_EXPR)
Required Parameter
NUM_EXPR
Expression that returns int, short, long, float, or double

Usage

sqrt(4) => 2
sqrt(-1) => NaN