Skip to content
Chung Leong edited this page Jan 10, 2022 · 3 revisions

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.

Clone this wiki locally