sqrt
Description
Syntax
sqrt ( float $arg ) : float
Parameters
arg
The argument to process
Return
The square root of arg or the special value NAN for negative numbers.
Examples
1
<? $arg = 9; $return = sqrt($arg); echo $return;
3
2
<? $arg = -9; $return = sqrt($arg); echo $return;
NAN