sqrt - chung-leong/qb GitHub Wiki

sqrt - Square root

float sqrt( float $x)

sqrt() computes the square root of x.

PARAMETERS:

x - The number to process. It can be a scalar or an array.

Return Values:

The square root of x or NAN for negative numbers. If x is an array, the return value will also be an array.

Version

1.0 and above.