PHP sqrt() Function

The sqrt() function returns the square root of a number.

float sqrt ( float $arg )

Returns the square root of arg.

Example -

ParameterDescription
argThe argument to process

Return Values

The square root of arg or the special value NAN for negative numbers.