php man page for sqrt

Query: sqrt

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SQRT(3) 								 1								   SQRT(3)

sqrt - Square root

SYNOPSIS
float sqrt (float $arg)
DESCRIPTION
Returns the square root of $arg.
PARAMETERS
o $arg - The argument to process
RETURN VALUES
The square root of $arg or the special value NAN for negative numbers.
EXAMPLES
Example #1 sqrt(3) example <?php // Precision depends on your precision directive echo sqrt(9); // 3 echo sqrt(10); // 3.16227766 ... ?>
SEE ALSO
pow(3). PHP Documentation Group SQRT(3)
Related Man Pages
sqrtf(3) - centos
sqrtl(3) - centos
sqrtf(3) - suse
cbrt(3) - freebsd
sqrtf(3) - freebsd
Similar Topics in the Unix Linux Community
sqrt
How to create SQRT function in catenate file
how can i find sqrt of a any number without using expr
sqrt in bash
Q: Is SQRT(n) possible in a POSIX compliant shell? A: Yes within limits.