Menu Riverview Church

SQRT

Square root

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

3

2

NAN

PHP