sqrt
 
 
 

Returns the square root of a positive number.

float sqrt(float number)

number is the positive number of which you want the square root.

A negative number displays an error message.

Examples

sqrt(16)

Returns 4.

sqrt($side)

If $side is 25, this returns 5.